WorkflowServiceExtensionsType

PackageFCQRS.Workflows
Adds workflows to a host.

Specification

Kind
Type
Members
1
Examples
0
AddWorkflowSignature
WorkflowServiceExtensions.AddWorkflow(services)

Summary

NameSignatureSynopsis
AddWorkflowWorkflowServiceExtensions.AddWorkflow(services)Registers the workflow `TWorkflow` and its `IWorkflowClient<TInput, TResult>`.

AddWorkflow

WorkflowServiceExtensions.AddWorkflow(services)
Member
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

NameTypeDescription
servicesIServiceCollection

Returns

IServiceCollection