Class EventSourceType
- Namespace
- Cratis.Chronicle.Events
- Assembly
- Cratis.Chronicle.dll
Represents the identifier for an event source type.
public record EventSourceType : ConceptAs<string>, IComparable<ConceptAs<string>>, IComparable<string>, IComparable, IEquatable<ConceptAs<string>>, IEquatable<EventSourceType>
- Inheritance
-
EventSourceType
- Implements
- Inherited Members
- Extension Methods
Constructors
EventSourceType(EventSourceType)
protected EventSourceType(EventSourceType original)
Parameters
originalEventSourceType
EventSourceType(string)
Represents the identifier for an event source type.
public EventSourceType(string Value)
Parameters
ValuestringActual value.
Fields
Default
Gets the default EventSourceType.
public static readonly EventSourceType Default
Field Value
Unspecified
Gets the representation of an unspecified EventSourceType.
public static readonly EventSourceType Unspecified
Field Value
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Methods
Deconstruct(out string)
public void Deconstruct(out string Value)
Parameters
Valuestring
Equals(EventSourceType?)
public virtual bool Equals(EventSourceType? other)
Parameters
otherEventSourceType
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 ==(EventSourceType?, EventSourceType?)
public static bool operator ==(EventSourceType? left, EventSourceType? right)
Parameters
leftEventSourceTyperightEventSourceType
Returns
implicit operator EventSourceType(string)
Convert from a string to an EventSourceType.
public static implicit operator EventSourceType(string value)
Parameters
valuestringString to convert from.
Returns
operator !=(EventSourceType?, EventSourceType?)
public static bool operator !=(EventSourceType? left, EventSourceType? right)
Parameters
leftEventSourceTyperightEventSourceType