Skip to main content

Class EnumType

Assembly: WaaS.Core.dll
Declaration
public class EnumType : IValueTypeDefinition, ITypeDefinition, IUnresolved<IType>, IUnresolvedValueType, IUnresolved<IValueType>, IEnumType, IValueType, IType, ISortedExportable, ISorted

Implements:

Expand

Properties

Labels

View Source
Declaration
public ReadOnlyMemory<string> Labels { get; }

Methods

Despecialize()

View Source
Declaration
public IDespecializedValueType Despecialize()
Returns

WaaS.ComponentModel.Runtime.IDespecializedValueType

ValidateEquals(IType)

View Source
Declaration
public bool ValidateEquals(IType other)
Returns

System.Boolean

Parameters
TypeName
WaaS.ComponentModel.Runtime.ITypeother

Create(ReadOnlyMemory<string>)

View Source
Declaration
public static EnumType Create(ReadOnlyMemory<string> labels)
Returns

WaaS.ComponentModel.Models.EnumType

Parameters
TypeName
System.ReadOnlyMemory<System.String>labels

Implements