Table of Contents

Class AuthorizableTypeRequestValidator<TRequest>

Namespace
Excalibur.A3.Authorization.Requests
Assembly
Excalibur.A3.dll

Provides a base validator for requests that may be authorizable.

public abstract class AuthorizableTypeRequestValidator<TRequest> : RequestValidator<TRequest>, IValidator<TRequest>, IValidator, IEnumerable<IValidationRule>, IEnumerable

Type Parameters

TRequest

The type of the request being validated.

Inheritance
AbstractValidator<TRequest>
AuthorizableTypeRequestValidator<TRequest>
Implements
IValidator<TRequest>
IValidator
IEnumerable<IValidationRule>
Inherited Members
AbstractValidator<TRequest>.Validate(TRequest)
AbstractValidator<TRequest>.Validate(ValidationContext<TRequest>)
AbstractValidator<TRequest>.CreateDescriptor()
AbstractValidator<TRequest>.Include(IValidator<TRequest>)
AbstractValidator<TRequest>.GetEnumerator()
AbstractValidator<TRequest>.PreValidate(ValidationContext<TRequest>, ValidationResult)
AbstractValidator<TRequest>.RaiseValidationException(ValidationContext<TRequest>, ValidationResult)
AbstractValidator<TRequest>.OnRuleAdded(IValidationRule<TRequest>)
AbstractValidator<TRequest>.ClassLevelCascadeMode
AbstractValidator<TRequest>.RuleLevelCascadeMode

Remarks

This validator automatically includes other relevant validators depending on the interfaces implemented by TRequest:

Constructors

AuthorizableTypeRequestValidator()

Initializes a new instance of the AuthorizableTypeRequestValidator<TRequest> class.

protected AuthorizableTypeRequestValidator()