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
originalEventStreamType
EventStreamType(string)
Represents the type of an event stream.
public EventStreamType(string Value)
Parameters
ValuestringActual Value.
Fields
All
Gets the representation of an unspecified EventStreamType.
public static readonly EventStreamType All
Field Value
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
IsAll
Check whether or not the EventStreamType is the all type.
public bool IsAll { get; }
Property Value
Methods
Deconstruct(out string)
public void Deconstruct(out string Value)
Parameters
Valuestring
Equals(EventStreamType?)
public virtual bool Equals(EventStreamType? other)
Parameters
otherEventStreamType
Returns
Equals(ConceptAs<string>?)
public override sealed bool Equals(ConceptAs<string>? other)
Parameters
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
Operators
operator ==(EventStreamType?, EventStreamType?)
public static bool operator ==(EventStreamType? left, EventStreamType? right)
Parameters
leftEventStreamTyperightEventStreamType
Returns
implicit operator EventStreamType(string)
Implicitly convert from string to EventStreamType.
public static implicit operator EventStreamType(string value)
Parameters
Returns
- EventStreamType
A converted EventStreamType.
operator !=(EventStreamType?, EventStreamType?)
public static bool operator !=(EventStreamType? left, EventStreamType? right)
Parameters
leftEventStreamTyperightEventStreamType