Table of Contents

Constructor WorkflowRegistry

Namespace
Millrace.Workflows
Assembly
Millrace.dll

WorkflowRegistry(IEnumerable<WorkflowDefinition>)

Builds the registry from every definition registered with the container.

public WorkflowRegistry(IEnumerable<WorkflowDefinition> definitions)

Parameters

definitions IEnumerable<WorkflowDefinition>

Remarks

Also where a duplicate (Id, Version) is caught. That is a startup failure rather than a last-one-wins merge, because two definitions claiming one key means an instance pinned to that version could resume into either — and which one it got would depend on registration order.

Exceptions

InvalidOperationException

Two definitions share an (Id, Version).