| 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.Queries Assembly » Cat.FluentWorkflows.Queries Namespace
CatWorkflowBuilderExtensions Class
The query step for the workflow builder.
public static class CatWorkflowBuilderExtensions
Inheritance System.Object → CatWorkflowBuilderExtensions
| Methods | |
|---|---|
| ProcessQuery<TWorkflowState,TQuery,TResult>(this ICatWorkflowBuilder<TWorkflowState>) | Adds a step that processes a query. The query is created with its parameterless constructor. Fill it with Input, like .Input(s => s.Id, step => step.Query.Id). Read the result with Output, like .Output(step => step.Response!.Value, s => s.Todo). A failed query ends the workflow with BreakCascade and the errors of the query. |