Interface ICommand<TResult>
- Namespace
- Stratara.Abstractions.Mediator
- Assembly
- Stratara.Abstractions.dll
A command that synchronously returns a result. Used for in-process exceptions to the outbox-dispatch rule — e.g. registration flows, infrastructure-destructive operations, or anything that requires the caller to receive the result before the dispatch completes.
public interface ICommand<TResult> : IRequest<TResult>, ICommandBase
Type Parameters
TResultThe result type produced by the command handler.
- Extension Methods