Table of Contents

Class EventCount

Namespace
Cratis.Chronicle.Events
Assembly
Cratis.Chronicle.dll

Represents a count of events.

public record EventCount : ConceptAs<ulong>, IComparable<ConceptAs<ulong>>, IComparable<ulong>, IComparable, IEquatable<ConceptAs<ulong>>, IEquatable<EventCount>
Inheritance
EventCount
Implements
Inherited Members

Constructors

EventCount(ulong)

Represents a count of events.

public EventCount(ulong Value)

Parameters

Value ulong

The actual count.

Fields

Unlimited

The value representing an unlimited count.

public static readonly EventCount Unlimited

Field Value

EventCount

Zero

The value representing zero.

public static readonly EventCount Zero

Field Value

EventCount

Operators

implicit operator EventCount(int)

Implicitly convert from int to EventCount.

public static implicit operator EventCount(int value)

Parameters

value int

Value to convert from.

Returns

EventCount

implicit operator EventCount(long)

Implicitly convert from long to EventCount.

public static implicit operator EventCount(long value)

Parameters

value long

Value to convert from.

Returns

EventCount

implicit operator EventCount(ulong)

Implicitly convert from ulong to EventCount.

public static implicit operator EventCount(ulong value)

Parameters

value ulong

Value to convert from.

Returns

EventCount