Class SerializableTenantId
- Namespace
- Excalibur.Dispatch.Serialization
- Assembly
- Excalibur.Dispatch.Abstractions.dll
Serializable, concrete tenant identifier value-type for AOT compatibility.
public sealed class SerializableTenantId
- Inheritance
-
SerializableTenantId
- Inherited Members
- Extension Methods
Properties
Value
Gets or sets the tenant identifier value.
public string Value { get; set; }
Property Value
- string
The unique tenant identifier string.
Methods
Create(string?)
Creates a new serializable tenant ID.
public static SerializableTenantId Create(string? value = null)
Parameters
valuestringThe optional tenant ID value; if not provided, an empty string will be used.
Returns
ToString()
Returns the tenant identifier as a string.
public override string ToString()
Returns
- string
The tenant identifier value.