Skip to content

Interface ISagaChoreographyRuntimeCatalog

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

Exposes the active saga-choreography behaviors visible to the current runtime.

public interface ISagaChoreographyRuntimeCatalog

Gets all active saga-choreography behaviors visible to the current runtime.

IReadOnlyList<SagaChoreographyRuntimeDescriptor> SagaChoreographies { get; }

IReadOnlyList<SagaChoreographyRuntimeDescriptor>

Gets one saga-choreography behavior by its stable behavior identifier.

SagaChoreographyRuntimeDescriptor? GetById(string behaviorId)

behaviorId string

The choreography behavior identifier to resolve.

SagaChoreographyRuntimeDescriptor?

The matching choreography descriptor, or null when it is not active.

Gets all saga-choreography behaviors contributed by the requested module.

IReadOnlyList<SagaChoreographyRuntimeDescriptor> GetBySourceModule(string sourceModuleId)

sourceModuleId string

The source module identifier to filter by.

IReadOnlyList<SagaChoreographyRuntimeDescriptor>

The matching choreographies, or an empty list when the module contributed none.

Gets all saga-choreography behaviors exposed over the requested transport.

IReadOnlyList<SagaChoreographyRuntimeDescriptor> GetByTransportId(string transportId)

transportId string

The stable transport identifier to filter by.

IReadOnlyList<SagaChoreographyRuntimeDescriptor>

The matching choreographies, or an empty list when none expose that transport.