Skip to content
Concord

Class ExtendedEnumMember

Namespace
Concord
Assembly
Concord.Enums.dll

One member an extended enum declaration adds.

public sealed record ExtendedEnumMember : IEquatable<ExtendedEnumMember>
Inheritance
ExtendedEnumMember
Implements
Inherited Members

Constructors

ExtendedEnumMember(Type, FieldInfo, string, long?)

One member an extended enum declaration adds.

public ExtendedEnumMember(Type EnumType, FieldInfo Field, string Id, long? PinnedValue)

Parameters

EnumType Type

The enum the member belongs to.

Field FieldInfo

The declaration field Concord assigns.

Id string

The persisted id.

PinnedValue long?

The value the author demanded, or null to let the allocator pick.

Properties

EnumType

The enum the member belongs to.

public Type EnumType { get; init; }

Property Value

Type

Field

The declaration field Concord assigns.

public FieldInfo Field { get; init; }

Property Value

FieldInfo

Id

The persisted id.

public string Id { get; init; }

Property Value

string

PinnedValue

The value the author demanded, or null to let the allocator pick.

public long? PinnedValue { get; init; }

Property Value

long?