EnumType

Class in Yarn

Inherits from TypeBase

Summary

A type that represents enumerations.

public class EnumType : TypeBase

Constructors

NameDescription
EnumType(string,string,TypeBase)Initializes a new instance of the EnumType class that represents an enum type. This type has no methods of its own, and is a subtype of Any .

Properties

NameDescription
DescriptionGets a string describing this type.
EnumCasesGets the collection of enum cases in this enum.
NameGets the name of this type.
ParentGets the parent of this type.
RawTypeGets the type of this enum’s members.