Table of Contents

Class CorrelationIdAccessor

Namespace
Cratis.Execution
Assembly
Cratis.Fundamentals.dll

Represents an implementation of ICorrelationIdAccessor.

public class CorrelationIdAccessor : ICorrelationIdAccessor, ICorrelationIdModifier
Inheritance
CorrelationIdAccessor
Implements
Inherited Members
Extension Methods

Properties

Current

Gets the current CorrelationId.

public CorrelationId Current { get; }

Property Value

CorrelationId

Methods

Modify(CorrelationId)

Modifies the current correlation ID.

public void Modify(CorrelationId correlationId)

Parameters

correlationId CorrelationId

The new correlation ID.

SetCurrent(CorrelationId)

Internal: Set the current correlation ID.

public static void SetCurrent(CorrelationId correlationId)

Parameters

correlationId CorrelationId

CorrelationId to set.