Table of Contents

Class CorrelationId

Namespace
Cratis.Execution
Assembly
Cratis.Fundamentals.dll

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 Guid

Actual value.

Fields

NotSet

Gets the value for not set.

public static readonly CorrelationId NotSet

Field Value

CorrelationId

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

id Guid

Guid to convert from.

Returns

CorrelationId

A new CorrelationId.