| 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
ICatStepBuilder<TWorkflowState,TStepBody>.Output<TOutput>(Expression<Func<TStepBody,TOutput>>, Expression<Func<TWorkflowState,TOutput>>) Method
Copies a value from a member of the step into the workflow state, right after the step ran.
Cat.FluentWorkflows.Abstractions.ICatStepBuilder<TWorkflowState,TStepBody> Output<TOutput>(System.Linq.Expressions.Expression<System.Func<TStepBody,TOutput>> source, System.Linq.Expressions.Expression<System.Func<TWorkflowState,TOutput>> target);
Type parameters
TOutput
The type of the value.
Parameters
source System.Linq.Expressions.Expression<System.Func<TStepBody,TOutput>>
Reads the value from the step, like step => step.Result.
target System.Linq.Expressions.Expression<System.Func<TWorkflowState,TOutput>>
Picks the property of the state to fill, like s => s.Total. It must be a member access.
Returns
Cat.FluentWorkflows.Abstractions.ICatStepBuilder<TWorkflowState,TStepBody>
The same builder, so calls can be chained.