Table of Contents

Class SerializableCorrelationId

Namespace
Excalibur.Dispatch.Serialization
Assembly
Excalibur.Dispatch.Abstractions.dll

Serializable implementation of ICorrelationId for AOT compatibility.

public sealed class SerializableCorrelationId : ICorrelationId
Inheritance
SerializableCorrelationId
Implements
Inherited Members
Extension Methods

Properties

CorrelationId

Gets the correlation identifier as a string.

public string CorrelationId { get; }

Property Value

string

Value

Gets or sets the correlation ID value.

public Guid Value { get; set; }

Property Value

Guid

The current Value value.

Methods

Create(Guid?)

Creates a new serializable correlation ID.

public static SerializableCorrelationId Create(Guid? value = null)

Parameters

value Guid?

The optional GUID value for the correlation ID; if not provided, a new GUID will be generated.

Returns

SerializableCorrelationId

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.