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
Value
Gets or sets the correlation ID value.
public Guid Value { get; set; }
Property Value
Methods
Create(Guid?)
Creates a new serializable correlation ID.
public static SerializableCorrelationId Create(Guid? value = null)
Parameters
valueGuid?The optional GUID value for the correlation ID; if not provided, a new GUID will be generated.
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.