Class RequestOtpCommandValidator
public class RequestOtpCommandValidator : IValidator<RequestOtpCommand>
- Inheritance
-
objectRequestOtpCommandValidator
- Implements
Constructors
RequestOtpCommandValidator(IValidator<RequestOtpCommand>)
public RequestOtpCommandValidator(IValidator<RequestOtpCommand> validator)
Parameters
validatorIValidator<RequestOtpCommand>
Methods
Validate(RequestOtpCommand, CancellationToken)
public Task<ValidationResult> Validate(RequestOtpCommand command, CancellationToken cancellationToken = default)
Parameters
commandRequestOtpCommandcancellationTokenCancellationToken
Returns
- Task<ValidationResult>