Class CorrelationId
Represents an identifier for correlation.
public record CorrelationId : ConceptAs<Guid>, IComparable<ConceptAs<Guid>>, IComparable<Guid>, IComparable, IEquatable<ConceptAs<Guid>>, IEquatable<CorrelationId>
- Inheritance
-
CorrelationId
- Implements
- Inherited Members
- Extension Methods
Constructors
CorrelationId(Guid)
Represents an identifier for correlation.
public CorrelationId(Guid Value)
Parameters
Value
GuidActual value.
Fields
NotSet
Gets the value for not set.
public static readonly CorrelationId NotSet
Field Value
Methods
New()
Create a new CorrelationId based on a new Guid.
public static CorrelationId New()
Returns
- CorrelationId
A new CorrelationId.
Operators
implicit operator CorrelationId(Guid)
Implicitly convert from string to CorrelationId.
public static implicit operator CorrelationId(Guid id)
Parameters
Returns
- CorrelationId
A new CorrelationId.