Class SagaChoreographyRuntimeDescriptor
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.Execution
Assembly: Cephalon.Abstractions.dll
Describes one active saga-choreography behavior visible to the current runtime.
public sealed class SagaChoreographyRuntimeDescriptorInheritance
Section titled “Inheritance”object ← SagaChoreographyRuntimeDescriptor
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Remarks
Section titled “Remarks”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.
Constructors
Section titled “Constructors”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)Parameters
Section titled “Parameters”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.
Properties
Section titled “Properties”BehaviorType
Section titled “ BehaviorType”Gets the concrete choreography behavior implementation type name.
public string BehaviorType { get; }Property Value
Section titled “Property Value”Description
Section titled “ Description”Gets the human-readable choreography description.
public string Description { get; }Property Value
Section titled “Property Value”DisplayName
Section titled “ DisplayName”Gets the operator-facing choreography name.
public string DisplayName { get; }Property Value
Section titled “Property Value”Gets the stable choreography behavior identifier.
public string Id { get; }Property Value
Section titled “Property Value”InputType
Section titled “ InputType”Gets the choreography input type name.
public string InputType { get; }Property Value
Section titled “Property Value”LocalOutputType
Section titled “ LocalOutputType”Gets the typed local output carried inside the choreography result contract when one is known.
public string? LocalOutputType { get; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”Gets additional operator-facing metadata describing choreography semantics.
public IReadOnlyDictionary<string, string> Metadata { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
RequiredFeatureFlagIds
Section titled “ RequiredFeatureFlagIds”Gets the ordered feature-flag identifiers that gate choreography execution.
public IReadOnlyList<string> RequiredFeatureFlagIds { get; }Property Value
Section titled “Property Value”ResultType
Section titled “ ResultType”Gets the behavior result-contract type name.
public string ResultType { get; }Property Value
Section titled “Property Value”SourceModuleId
Section titled “ SourceModuleId”Gets the owning module identifier when one is known at runtime.
public string? SourceModuleId { get; }Property Value
Section titled “Property Value”SuccessStatusCodes
Section titled “ SuccessStatusCodes”Gets the HTTP success status codes the shared choreography strategy can return.
public IReadOnlyList<int> SuccessStatusCodes { get; }Property Value
Section titled “Property Value”TransportIds
Section titled “ TransportIds”Gets the transport identifiers that expose the choreography.
public IReadOnlyList<string> TransportIds { get; }