Table of Contents

Class SerializableCausationId

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

Serializable implementation of ICausationId for AOT compatibility.

public sealed class SerializableCausationId : ICausationId
Inheritance
SerializableCausationId
Implements
Inherited Members
Extension Methods

Properties

Value

Gets or sets the causation identifier value.

public Guid Value { get; set; }

Property Value

Guid

The GUID linking the current operation to its cause.

Methods

Create(Guid?)

Creates a new serializable causation ID.

public static SerializableCausationId Create(Guid? value = null)

Parameters

value Guid?

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

Returns

SerializableCausationId

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.