Method
StringValue.GetEnum<TEnum>
GetEnum<TEnum>() #
Gets an Enum object representation from this StringValue, parsing the current string expression into an value of
TEnum. This method will throw an NullReferenceException if
the value stored in this instance is null.
public TEnum GetEnum<TEnum>() where TEnum : struct, EnumReturns #
TEnum
Type Parameters #
TEnum
The Enum type.