ICommandHandler<TCommand> interface
Namespace: Vitreous.Abstractions
Assembly: Vitreous.dll
Handles a command that does not return a meaningful value.
public interface ICommandHandler<TCommand> where TCommand : ICommandType Parameters
Section titled “Type Parameters”TCommand
The command type.
Methods
Section titled “Methods”Handle(TCommand, CancellationToken)
Section titled “ Handle(TCommand, CancellationToken)”Handles the given command and returns a result.
ValueTask<Result> Handle(TCommand command, CancellationToken ct = default)Parameters
Section titled “Parameters”command TCommand