Method in EnumTypeBuilder
Creates a new EnumType given a CLR enum type.
public static EnumType FromEnum<TEnum>(string? description = null)
where TEnum : System.EnumA Yarn type representing the enum.
string description
An optional description to apply to the new Yarn enum type.
TEnum
The type of the CLR enum.