| Clean Architecture Toolkit for .NET | |||||
|
Clean Architecture Toolkit is a clean, modular architecture foundation for .NET applications. It embraces SOLID principles and focuses on maintainability, testability, and scalability through clear boundaries and pluggable design. |
|
||||
|
| HOME | MODULE OVERVIEW | DEMO | CAT.FLUENTWORKFLOWS | |
|||||
Code Reference
» Cat.FluentWorkflows.Abstractions Assembly » Cat.FluentWorkflows.Abstractions Namespace
ICatStepBuilder<TWorkflowState,TStepBody> Interface
Connects a step to the workflow state. Inputs go from the state into the step before it runs. Outputs go from the step back into the state after it ran.
public interface ICatStepBuilder<TWorkflowState,TStepBody>
where TWorkflowState : class, Cat.FluentWorkflows.Abstractions.ICatWorkflowState<TWorkflowState>
where TStepBody : class, Cat.FluentWorkflows.Abstractions.ICatStepBodyAsync
Type parameters
TWorkflowState
The state of the workflow.
TStepBody
The step body being configured.
| Methods | |
|---|---|
| Input<TInput>(Expression<Func<TWorkflowState,TInput>>, Expression<Func<TStepBody,TInput>>) | Copies a value from the workflow state into a member of the step, right before the step runs. |
| Output<TOutput>(Expression<Func<TStepBody,TOutput>>, Expression<Func<TWorkflowState,TOutput>>) | Copies a value from a member of the step into the workflow state, right after the step ran. |