Class WorkflowModelRegistry
A workflow model registry.
Inheritance
System.Object
WorkflowModelRegistry
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Workflow.Model.Runtime.ModelRegistries
Assembly: Kephas.Workflow.Model.dll
Syntax
public class WorkflowModelRegistry : IRuntimeModelRegistry
Constructors
| Improve this Doc View SourceWorkflowModelRegistry(IAppRuntime, ITypeLoader)
Initializes a new instance of the WorkflowModelRegistry class.
Declaration
public WorkflowModelRegistry(IAppRuntime appRuntime, ITypeLoader typeLoader)
Parameters
Type | Name | Description |
---|---|---|
IAppRuntime | appRuntime | The application runtime. |
ITypeLoader | typeLoader | The type loader. |
Methods
| Improve this Doc View SourceGetRuntimeElementsAsync(CancellationToken)
Gets the runtime elements.
Declaration
public Task<IEnumerable<object>> GetRuntimeElementsAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | The cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<System.Object>> | A promise of an enumeration of runtime elements. |