Sisk

Method

StringValue.GetEnum<TEnum>

Namespace
Sisk.Core.Entity
Assembly
Sisk.Core.dll

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.

C#
public TEnum GetEnum<TEnum>() where TEnum : struct, Enum

Returns #

TEnum

Type Parameters #

TEnum

The Enum type.

Type to search the documentation and the API reference.