WorkflowServiceExtensionsType
PackageFCQRS.Workflows
Adds workflows to a host.
Specification
Kind
Type
Members
1
Examples
0
AddWorkflowSignature
WorkflowServiceExtensions.AddWorkflow(services)
Summary
| Name | Signature | Synopsis |
|---|---|---|
| AddWorkflow | WorkflowServiceExtensions.AddWorkflow(services) | Registers the workflow `TWorkflow` and its `IWorkflowClient<TInput, TResult>`. |
Registers the workflow `TWorkflow` and its `IWorkflowClient<TInput, TResult>`. The workflow
is created from the container, so its constructor can take the services its activities
call. Call it after `AddFcqrs`, which provides the actor system.
Parameters
| Name | Type | Description |
|---|---|---|
| services | IServiceCollection |
Returns
IServiceCollection