EnumTEnumGetDefinedOrNull(TEnum) Method

Returns value if it is defined in TEnum; otherwise, returns .

Definition

Namespace: KGySoft.CoreLibraries
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0-preview.1
C#
public static TEnum? GetDefinedOrNull(
	TEnum value
)

Parameters

value  TEnum
A TEnum value.

Return Value

NullableTEnum
value if it is defined in TEnum; otherwise, .

See Also