Table of Contents

Method GetEnum

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.

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

Returns

TEnum

Type Parameters

TEnum

The Enum type.