Class RevokeAllGrantsCommandValidator
- Namespace
- Excalibur.A3.Authorization.Grants
- Assembly
- Excalibur.A3.dll
Validates the RevokeAllGrantsCommand to ensure all required properties are provided.
public sealed class RevokeAllGrantsCommandValidator : RequestValidator<RevokeAllGrantsCommand>, IValidator<RevokeAllGrantsCommand>, IValidator, IEnumerable<IValidationRule>, IEnumerable
- Inheritance
-
AbstractValidator<RevokeAllGrantsCommand>RevokeAllGrantsCommandValidator
- Implements
-
IValidator<RevokeAllGrantsCommand>IValidatorIEnumerable<IValidationRule>
- Inherited Members
-
AbstractValidator<RevokeAllGrantsCommand>.Validate(RevokeAllGrantsCommand)AbstractValidator<RevokeAllGrantsCommand>.Validate(ValidationContext<RevokeAllGrantsCommand>)AbstractValidator<RevokeAllGrantsCommand>.CreateDescriptor()AbstractValidator<RevokeAllGrantsCommand>.Include(IValidator<RevokeAllGrantsCommand>)AbstractValidator<RevokeAllGrantsCommand>.GetEnumerator()AbstractValidator<RevokeAllGrantsCommand>.ClassLevelCascadeModeAbstractValidator<RevokeAllGrantsCommand>.RuleLevelCascadeMode
Constructors
RevokeAllGrantsCommandValidator()
Initializes a new instance of the RevokeAllGrantsCommandValidator class.
public RevokeAllGrantsCommandValidator()
Remarks
Adds validation rules for the RevokeAllGrantsCommand to ensure that the UserId and FullName properties are not empty.