Interface IHostedExecutionRuntimeCatalog
Namespace: Cephalon.Abstractions.Execution
Assembly: Cephalon.Abstractions.dll
Exposes the hosted executions visible to the current runtime.
public interface IHostedExecutionRuntimeCatalogProperties
Section titled “Properties”HostedExecutions
Section titled “ HostedExecutions”Gets all hosted executions visible to the current runtime.
IReadOnlyList<HostedExecutionDescriptor> HostedExecutions { get; }Property Value
Section titled “Property Value”IReadOnlyList<HostedExecutionDescriptor>
Methods
Section titled “Methods”GetByExecutionGraph(string)
Section titled “ GetByExecutionGraph(string)”Gets all hosted executions linked to one execution graph.
IReadOnlyList<HostedExecutionDescriptor> GetByExecutionGraph(string executionGraphId)Parameters
Section titled “Parameters”executionGraphId string
The execution-graph identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<HostedExecutionDescriptor>
The matching hosted executions, or an empty list when none link to that graph.
GetById(string)
Section titled “ GetById(string)”Gets one hosted execution by its stable identifier.
HostedExecutionDescriptor? GetById(string hostedExecutionId)Parameters
Section titled “Parameters”hostedExecutionId string
The hosted-execution identifier to resolve.
Returns
Section titled “Returns”The matching hosted execution, or null when it is not active.
GetBySourceModule(string)
Section titled “ GetBySourceModule(string)”Gets all hosted executions contributed by the requested module.
IReadOnlyList<HostedExecutionDescriptor> GetBySourceModule(string sourceModuleId)Parameters
Section titled “Parameters”sourceModuleId string
The source module identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<HostedExecutionDescriptor>
The matching hosted executions, or an empty list when the module contributed none.