Class EventStreamType

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

Represents the type of an event stream.

public record EventStreamType : ConceptAs<string>, IComparable<ConceptAs<string>>, IComparable<string>, IComparable, IEquatable<ConceptAs<string>>, IEquatable<EventStreamType>
Inheritance
EventStreamType
Implements
Inherited Members
Extension Methods

Constructors

EventStreamType(EventStreamType)

protected EventStreamType(EventStreamType original)

Parameters

original EventStreamType

EventStreamType(string)

Represents the type of an event stream.

public EventStreamType(string Value)

Parameters

Value string

Actual Value.

Fields

All

Gets the representation of an unspecified EventStreamType.

public static readonly EventStreamType All

Field Value

EventStreamType

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

IsAll

Check whether or not the EventStreamType is the all type.

public bool IsAll { get; }

Property Value

bool

Methods

Deconstruct(out string)

public void Deconstruct(out string Value)

Parameters

Value string

Equals(EventStreamType?)

public virtual bool Equals(EventStreamType? other)

Parameters

other EventStreamType

Returns

bool

Equals(ConceptAs<string>?)

public override sealed bool Equals(ConceptAs<string>? other)

Parameters

other ConceptAs<string>

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

Operators

operator ==(EventStreamType?, EventStreamType?)

public static bool operator ==(EventStreamType? left, EventStreamType? right)

Parameters

left EventStreamType
right EventStreamType

Returns

bool

implicit operator EventStreamType(string)

Implicitly convert from string to EventStreamType.

public static implicit operator EventStreamType(string value)

Parameters

value string

string to convert from.

Returns

EventStreamType

A converted EventStreamType.

operator !=(EventStreamType?, EventStreamType?)

public static bool operator !=(EventStreamType? left, EventStreamType? right)

Parameters

left EventStreamType
right EventStreamType

Returns

bool