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
EnumTypeTypeThe enum the member belongs to.
FieldFieldInfoThe declaration field Concord assigns.
IdstringThe persisted id.
PinnedValuelong?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
Field
The declaration field Concord assigns.
public FieldInfo Field { get; init; }
Property Value
Id
The persisted id.
public string Id { get; init; }
Property Value
PinnedValue
The value the author demanded, or null to let the allocator pick.
public long? PinnedValue { get; init; }
Property Value
- long?