Class SplitPartIndex
- Namespace
- Cratis.Chronicle.Events.Migrations
- Assembly
- Cratis.Chronicle.dll
Represents the zero-based index of the part to extract when splitting a property value.
public record SplitPartIndex : ConceptAs<int>, IComparable<ConceptAs<int>>, IComparable<int>, IComparable, IEquatable<ConceptAs<int>>, IEquatable<SplitPartIndex>
- Inheritance
-
SplitPartIndex
- Implements
- Inherited Members
Constructors
SplitPartIndex(int)
Represents the zero-based index of the part to extract when splitting a property value.
public SplitPartIndex(int Value)
Parameters
ValueintActual value.
Fields
First
Gets the representation of the first part (index 0).
public static readonly SplitPartIndex First
Field Value
Second
Gets the representation of the second part (index 1).
public static readonly SplitPartIndex Second
Field Value
Operators
implicit operator int(SplitPartIndex)
Implicitly convert from SplitPartIndex to int.
public static implicit operator int(SplitPartIndex index)
Parameters
indexSplitPartIndexSplitPartIndex to convert from.
Returns
implicit operator SplitPartIndex(int)
Implicitly convert from int to SplitPartIndex.
public static implicit operator SplitPartIndex(int index)