Skip to content

Interface IHostedExecutionRuntimeCatalog

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

Exposes the hosted executions visible to the current runtime.

public interface IHostedExecutionRuntimeCatalog

Gets all hosted executions visible to the current runtime.

IReadOnlyList<HostedExecutionDescriptor> HostedExecutions { get; }

IReadOnlyList<HostedExecutionDescriptor>

Gets all hosted executions linked to one execution graph.

IReadOnlyList<HostedExecutionDescriptor> GetByExecutionGraph(string executionGraphId)

executionGraphId string

The execution-graph identifier to filter by.

IReadOnlyList<HostedExecutionDescriptor>

The matching hosted executions, or an empty list when none link to that graph.

Gets one hosted execution by its stable identifier.

HostedExecutionDescriptor? GetById(string hostedExecutionId)

hostedExecutionId string

The hosted-execution identifier to resolve.

HostedExecutionDescriptor?

The matching hosted execution, or null when it is not active.

Gets all hosted executions contributed by the requested module.

IReadOnlyList<HostedExecutionDescriptor> GetBySourceModule(string sourceModuleId)

sourceModuleId string

The source module identifier to filter by.

IReadOnlyList<HostedExecutionDescriptor>

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