| 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 | REPO OVERVIEW | DEMO | CAT.UNITTESTING | |
|||||
>> Cat.UnitTesting.Commands Assembly >> Cat.UnitTesting.Commands Namespace >> FakeCommandProcessor Class
| Overloads | |
|---|---|
| Process(ICatCommand) | Runs a command and blocks until it finishes. Prefer ProcessAsync(ICatCommand, CancellationToken) when you can. |
| Process<TResult>(ICatCommand<TResult>) | Runs a command that returns a result and blocks until it finishes. Prefer ProcessAsync<TResult>(ICatCommand<TResult>, CancellationToken) when you can. |
Runs a command and blocks until it finishes. Prefer ProcessAsync(ICatCommand, CancellationToken) when you can.
public Cat.Responses.Abstractions.ICatResponse Process(Cat.Commands.Abstractions.ICatCommand catCommand);catCommand ICatCommand
The command to run.
Implements Process(ICatCommand)
ICatResponse
The response of the handler.
Runs a command that returns a result and blocks until it finishes. Prefer ProcessAsync<TResult>(ICatCommand<TResult>, CancellationToken) when you can.
public Cat.Responses.Abstractions.ICatResponse<TResult> Process<TResult>(Cat.Commands.Abstractions.ICatCommand<TResult> catCommand);TResult
The type of the data the command returns.
catCommand Cat.Commands.Abstractions.ICatCommand<TResult>
The command to run.
Implements Process<TResult>(ICatCommand<TResult>)
Cat.Responses.Abstractions.ICatResponse<TResult>
The response of the handler, with the result when it succeeded.