/// <summary> /// Initializes a new instance of the <see cref="Enum{T}"/> class. /// </summary> /// <param name="value">The value.</param> public Enum(System.Enum value) { EnumValue = (T)(object)value; StringValue = value?.GetName(); }