Table of Contents

Class BasicEnum<T>

Namespace
ZeroC.Slice.Symbols
Assembly
ZeroC.Slice.Symbols.dll

Represents a Slice basic enumeration with a typed underlying value.

public sealed class BasicEnum<T> : BasicEnum, ISymbol, IType where T : struct, INumber<T>

Type Parameters

T

The C# type that corresponds to the underlying Slice type.

Inheritance
BasicEnum<T>
Implements
Inherited Members

Properties

Enumerators

Gets the list of enumerators for this enumeration.

public required ImmutableList<BasicEnum<T>.Enumerator> Enumerators { get; init; }

Property Value

ImmutableList<BasicEnum<T>.Enumerator>

Methods

FindEnumeratorByIdentifier(string)

Finds an enumerator by its Slice identifier.

public override Entity? FindEnumeratorByIdentifier(string identifier)

Parameters

identifier string

Returns

Entity