Class CorrelationIdAccessor
- Namespace
- Cratis.Execution
- Assembly
- Cratis.Fundamentals.dll
Represents an implementation of ICorrelationIdAccessor.
[Singleton]
public class CorrelationIdAccessor : ICorrelationIdAccessor, ICorrelationIdModifier
- Inheritance
-
CorrelationIdAccessor
- Implements
- Inherited Members
- Extension Methods
Constructors
CorrelationIdAccessor()
public CorrelationIdAccessor()
Properties
Current
Gets the current CorrelationId.
public CorrelationId Current { get; }
Property Value
Methods
Modify(CorrelationId)
Modifies the current correlation ID.
public void Modify(CorrelationId correlationId)
Parameters
correlationIdCorrelationIdThe new correlation ID.
SetCurrent(CorrelationId)
Internal: Set the current correlation ID.
public static void SetCurrent(CorrelationId correlationId)
Parameters
correlationIdCorrelationIdCorrelationId to set.