Class ProjectionSessionId
- Namespace
- Cratis.Chronicle.Projections
- Assembly
- Cratis.Chronicle.dll
Represents a session for a projection, typically used when asking to project immediately.
public record ProjectionSessionId : ConceptAs<Guid>, IComparable<ConceptAs<Guid>>, IComparable<Guid>, IComparable, IEquatable<ConceptAs<Guid>>, IEquatable<ProjectionSessionId>
- Inheritance
-
ProjectionSessionId
- Implements
- Inherited Members
- Extension Methods
Constructors
ProjectionSessionId(ProjectionSessionId)
protected ProjectionSessionId(ProjectionSessionId original)
Parameters
originalProjectionSessionId
ProjectionSessionId(Guid)
Represents a session for a projection, typically used when asking to project immediately.
public ProjectionSessionId(Guid Value)
Parameters
ValueGuidInner value.
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Methods
Deconstruct(out Guid)
public void Deconstruct(out Guid Value)
Parameters
ValueGuid
Equals(ProjectionSessionId?)
public virtual bool Equals(ProjectionSessionId? other)
Parameters
otherProjectionSessionId
Returns
Equals(ConceptAs<Guid>?)
public override sealed bool Equals(ConceptAs<Guid>? 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 ==(ProjectionSessionId?, ProjectionSessionId?)
public static bool operator ==(ProjectionSessionId? left, ProjectionSessionId? right)
Parameters
leftProjectionSessionIdrightProjectionSessionId
Returns
implicit operator CorrelationId(ProjectionSessionId)
Implicitly convert from ProjectionSessionId to CorrelationId.
public static implicit operator CorrelationId(ProjectionSessionId sessionId)
Parameters
sessionIdProjectionSessionIdProjectionSessionId to convert from.
Returns
implicit operator ProjectionSessionId(CorrelationId)
Implicitly convert from CorrelationId to ProjectionSessionId.
public static implicit operator ProjectionSessionId(CorrelationId correlationId)
Parameters
correlationIdCorrelationIdCorrelationId to convert from.
Returns
implicit operator ProjectionSessionId(Guid)
Implicitly convert from string to ProjectionSessionId.
public static implicit operator ProjectionSessionId(Guid value)
Parameters
valueGuidString to convert from.
Returns
operator !=(ProjectionSessionId?, ProjectionSessionId?)
public static bool operator !=(ProjectionSessionId? left, ProjectionSessionId? right)
Parameters
leftProjectionSessionIdrightProjectionSessionId