Table of Contents

Class CreateRoleCommandValidator

Namespace
KadicAuth.Application.Roles.Validators
Assembly
KadicAuth.Application.dll
public class CreateRoleCommandValidator : AbstractValidator<CreateRoleCommand>, IValidator<CreateRoleCommand>, IValidator
Inheritance
object
AbstractValidator<CreateRoleCommand>
CreateRoleCommandValidator
Implements
IValidator<CreateRoleCommand>
IValidator
Inherited Members
AbstractValidator<CreateRoleCommand>.Validate(CreateRoleCommand)
AbstractValidator<CreateRoleCommand>.ValidateAsync(CreateRoleCommand, CancellationToken)
AbstractValidator<CreateRoleCommand>.Validate(ValidationContext<CreateRoleCommand>)
AbstractValidator<CreateRoleCommand>.ValidateAsync(ValidationContext<CreateRoleCommand>, CancellationToken)
AbstractValidator<CreateRoleCommand>.CreateDescriptor()
AbstractValidator<CreateRoleCommand>.RuleFor<TProperty>(Expression<Func<CreateRoleCommand, TProperty>>)
AbstractValidator<CreateRoleCommand>.RuleForEach<TElement>(Expression<Func<CreateRoleCommand, IEnumerable<TElement>>>)
AbstractValidator<CreateRoleCommand>.RuleSet(string, Action)
AbstractValidator<CreateRoleCommand>.When(Func<CreateRoleCommand, bool>, Action)
AbstractValidator<CreateRoleCommand>.When(Func<CreateRoleCommand, ValidationContext<CreateRoleCommand>, bool>, Action)
AbstractValidator<CreateRoleCommand>.Unless(Func<CreateRoleCommand, bool>, Action)
AbstractValidator<CreateRoleCommand>.Unless(Func<CreateRoleCommand, ValidationContext<CreateRoleCommand>, bool>, Action)
AbstractValidator<CreateRoleCommand>.WhenAsync(Func<CreateRoleCommand, CancellationToken, Task<bool>>, Action)
AbstractValidator<CreateRoleCommand>.WhenAsync(Func<CreateRoleCommand, ValidationContext<CreateRoleCommand>, CancellationToken, Task<bool>>, Action)
AbstractValidator<CreateRoleCommand>.UnlessAsync(Func<CreateRoleCommand, CancellationToken, Task<bool>>, Action)
AbstractValidator<CreateRoleCommand>.UnlessAsync(Func<CreateRoleCommand, ValidationContext<CreateRoleCommand>, CancellationToken, Task<bool>>, Action)
AbstractValidator<CreateRoleCommand>.Include(IValidator<CreateRoleCommand>)
AbstractValidator<CreateRoleCommand>.Include<TValidator>(Func<CreateRoleCommand, TValidator>)
AbstractValidator<CreateRoleCommand>.GetEnumerator()
AbstractValidator<CreateRoleCommand>.PreValidate(ValidationContext<CreateRoleCommand>, ValidationResult)
AbstractValidator<CreateRoleCommand>.RaiseValidationException(ValidationContext<CreateRoleCommand>, ValidationResult)
AbstractValidator<CreateRoleCommand>.OnRuleAdded(IValidationRule<CreateRoleCommand>)
AbstractValidator<CreateRoleCommand>.ClassLevelCascadeMode
AbstractValidator<CreateRoleCommand>.RuleLevelCascadeMode

Constructors

CreateRoleCommandValidator(IStringLocalizer<AuthMessages>)

public CreateRoleCommandValidator(IStringLocalizer<AuthMessages> localizer)

Parameters

localizer IStringLocalizer<AuthMessages>