Interface ICommandValidator<TAuthenticationToken, TCommand>
Validates an ICommand<TAuthenticationToken> on its own merits.
Namespace: Cqrs.Commands
Assembly: Cqrs.dll
Syntax
public interface ICommandValidator<TAuthenticationToken, in TCommand>
where TCommand : ICommand<TAuthenticationToken>
Type Parameters
Name | Description |
---|---|
TAuthenticationToken | |
TCommand |
Methods
IsCommandValid(TCommand)
Validates the provided on its own merits.
Declaration
bool IsCommandValid(TCommand command)
Parameters
Type | Name | Description |
---|---|---|
TCommand | command |
Returns
Type | Description |
---|---|
System.Boolean |