Table of Contents

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

Value int

Actual value.

Fields

First

Gets the representation of the first part (index 0).

public static readonly SplitPartIndex First

Field Value

SplitPartIndex

Second

Gets the representation of the second part (index 1).

public static readonly SplitPartIndex Second

Field Value

SplitPartIndex

Operators

implicit operator int(SplitPartIndex)

Implicitly convert from SplitPartIndex to int.

public static implicit operator int(SplitPartIndex index)

Parameters

index SplitPartIndex

SplitPartIndex to convert from.

Returns

int

implicit operator SplitPartIndex(int)

Implicitly convert from int to SplitPartIndex.

public static implicit operator SplitPartIndex(int index)

Parameters

index int

int to convert from.

Returns

SplitPartIndex