Skip to content

Class SagaChoreographyRuntimeDescriptor

Namespace: Cephalon.Abstractions.Execution
Assembly: Cephalon.Abstractions.dll

Describes one active saga-choreography behavior visible to the current runtime.

public sealed class SagaChoreographyRuntimeDescriptor

objectSagaChoreographyRuntimeDescriptor

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

This runtime-facing surface keeps choreography truth derived from the shared behavior topology and registered implementation types instead of inventing a host-only choreography registry. It is intentionally static and operator-facing: it describes the active choreography contract shape, ownership, transports, and publication semantics rather than per-invocation state.

SagaChoreographyRuntimeDescriptor(string, string, string, string, string, string, string?, string?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<int>?, IReadOnlyDictionary<string, string>?)

Section titled “ SagaChoreographyRuntimeDescriptor(string, string, string, string, string, string, string?, string?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<int>?, IReadOnlyDictionary<string, string>?)”

Creates a saga-choreography runtime descriptor.

public SagaChoreographyRuntimeDescriptor(string id, string displayName, string description, string behaviorType, string inputType, string resultType, string? localOutputType = null, string? sourceModuleId = null, IReadOnlyList<string>? transportIds = null, IReadOnlyList<string>? requiredFeatureFlagIds = null, IReadOnlyList<int>? successStatusCodes = null, IReadOnlyDictionary<string, string>? metadata = null)

id string

The stable choreography behavior identifier.

displayName string

The operator-facing choreography name.

description string

A human-readable description of the choreography behavior.

behaviorType string

The concrete choreography behavior implementation type name.

inputType string

The choreography input type name.

resultType string

The behavior result-contract type name.

localOutputType string?

The typed local output carried inside the shared choreography result contract when one is known.

sourceModuleId string?

The owning module identifier when the choreography came from an explicit module-owned behavior.

transportIds IReadOnlyList<string>?

The transport identifiers that expose the choreography.

requiredFeatureFlagIds IReadOnlyList<string>?

The ordered feature-flag identifiers that must resolve to enabled before the choreography can execute.

successStatusCodes IReadOnlyList<int>?

The HTTP success status codes the shared choreography strategy can return for local output, publication-only work, or completion without output.

metadata IReadOnlyDictionary<string, string>?

Additional operator-facing metadata describing choreography semantics.

Gets the concrete choreography behavior implementation type name.

public string BehaviorType { get; }

string

Gets the human-readable choreography description.

public string Description { get; }

string

Gets the operator-facing choreography name.

public string DisplayName { get; }

string

Gets the stable choreography behavior identifier.

public string Id { get; }

string

Gets the choreography input type name.

public string InputType { get; }

string

Gets the typed local output carried inside the choreography result contract when one is known.

public string? LocalOutputType { get; }

string?

Gets additional operator-facing metadata describing choreography semantics.

public IReadOnlyDictionary<string, string> Metadata { get; }

IReadOnlyDictionary<string, string>

Gets the ordered feature-flag identifiers that gate choreography execution.

public IReadOnlyList<string> RequiredFeatureFlagIds { get; }

IReadOnlyList<string>

Gets the behavior result-contract type name.

public string ResultType { get; }

string

Gets the owning module identifier when one is known at runtime.

public string? SourceModuleId { get; }

string?

Gets the HTTP success status codes the shared choreography strategy can return.

public IReadOnlyList<int> SuccessStatusCodes { get; }

IReadOnlyList<int>

Gets the transport identifiers that expose the choreography.

public IReadOnlyList<string> TransportIds { get; }

IReadOnlyList<string>