Class ProjectionId
- Namespace
- Cratis.Chronicle.Projections
- Assembly
- Cratis.Chronicle.dll
Represents the unique identifier of a projection.
public record ProjectionId : ConceptAs<string>, IComparable<ConceptAs<string>>, IComparable<string>, IComparable, IEquatable<ConceptAs<string>>, IEquatable<ProjectionId>
- Inheritance
-
ProjectionId
- Implements
- Inherited Members
- Extension Methods
Constructors
ProjectionId(ProjectionId)
protected ProjectionId(ProjectionId original)
Parameters
originalProjectionId
ProjectionId(string)
Represents the unique identifier of a projection.
public ProjectionId(string Value)
Parameters
ValuestringThe value.
Fields
NotSet
The value representing an unset projection identifier.
public static readonly ProjectionId NotSet
Field Value
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Methods
Deconstruct(out string)
public void Deconstruct(out string Value)
Parameters
Valuestring
Equals(ProjectionId?)
public virtual bool Equals(ProjectionId? other)
Parameters
otherProjectionId
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 ==(ProjectionId?, ProjectionId?)
public static bool operator ==(ProjectionId? left, ProjectionId? right)
Parameters
leftProjectionIdrightProjectionId
Returns
implicit operator ProjectionId(string)
Implicitly convert from Guid to ProjectionId.
public static implicit operator ProjectionId(string value)
Parameters
Returns
operator !=(ProjectionId?, ProjectionId?)
public static bool operator !=(ProjectionId? left, ProjectionId? right)
Parameters
leftProjectionIdrightProjectionId