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