Interface ICommand<TResult>
- Namespace
- BytLabs.Application.CQS.Commands
- Assembly
- BytLabs.Application.dll
Represents a command that returns a value of type TResult. Implements both IRequest{TResult} from MediatR and ICommandBase for command handling.
public interface ICommand<out TResult> : IRequest<TResult>, IBaseRequest, ICommandBase
Type Parameters
TResultThe type of the result returned by the command