Class WorkflowRegistry
The registered definitions, keyed by (Id, Version).
public sealed class WorkflowRegistry
- Inheritance
-
WorkflowRegistry
- Inherited Members
Remarks
Old versions stay registered until their instances drain: an in-flight instance always finishes on the version it started with, so removing a version while instances still reference it would strand them (§6.1).
Constructors
- WorkflowRegistry(IEnumerable<WorkflowDefinition>)
Builds the registry from every definition registered with the container.
Properties
- Definitions
Every registered definition, all versions of all workflows.
Methods
- GetLatest(string)
The version a new instance starts on, unless one is pinned explicitly.
- TryGet(string, int, out WorkflowDefinition)
The exact version an in-flight instance is pinned to.