Interface ISagaChoreographyRuntimeCatalog
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.Execution
Assembly: Cephalon.Abstractions.dll
Exposes the active saga-choreography behaviors visible to the current runtime.
public interface ISagaChoreographyRuntimeCatalogProperties
Section titled “Properties”SagaChoreographies
Section titled “ SagaChoreographies”Gets all active saga-choreography behaviors visible to the current runtime.
IReadOnlyList<SagaChoreographyRuntimeDescriptor> SagaChoreographies { get; }Property Value
Section titled “Property Value”IReadOnlyList<SagaChoreographyRuntimeDescriptor>
Methods
Section titled “Methods”GetById(string)
Section titled “ GetById(string)”Gets one saga-choreography behavior by its stable behavior identifier.
SagaChoreographyRuntimeDescriptor? GetById(string behaviorId)Parameters
Section titled “Parameters”behaviorId string
The choreography behavior identifier to resolve.
Returns
Section titled “Returns”SagaChoreographyRuntimeDescriptor?
The matching choreography descriptor, or null when it is not active.
GetBySourceModule(string)
Section titled “ GetBySourceModule(string)”Gets all saga-choreography behaviors contributed by the requested module.
IReadOnlyList<SagaChoreographyRuntimeDescriptor> GetBySourceModule(string sourceModuleId)Parameters
Section titled “Parameters”sourceModuleId string
The source module identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<SagaChoreographyRuntimeDescriptor>
The matching choreographies, or an empty list when the module contributed none.
GetByTransportId(string)
Section titled “ GetByTransportId(string)”Gets all saga-choreography behaviors exposed over the requested transport.
IReadOnlyList<SagaChoreographyRuntimeDescriptor> GetByTransportId(string transportId)Parameters
Section titled “Parameters”transportId string
The stable transport identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<SagaChoreographyRuntimeDescriptor>
The matching choreographies, or an empty list when none expose that transport.