AlwaysValidValidator
Assembly: ServiceStack.dll
View Source
Declaration
public class AlwaysValidValidator : NoopPropertyValidator, IPropertyValidator
Inherited Properties
Options
View Source
Declaration
public PropertyValidatorOptions Options { get; }
Methods
Validate(PropertyValidatorContext)
View Source
Declaration
public override IEnumerable<ValidationFailure> Validate(PropertyValidatorContext context)
Returns
System.Collections.Generic.IEnumerable<ServiceStack.FluentValidation.Results.ValidationFailure>
Parameters
Type | Name |
---|---|
ServiceStack.FluentValidation.Validators.PropertyValidatorContext | context |
Inherited Methods
ShouldValidateAsynchronously(IValidationContext)
View Source
Declaration
public virtual bool ShouldValidateAsynchronously(IValidationContext context)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
ServiceStack.FluentValidation.IValidationContext | context |
Validate(PropertyValidatorContext)
View Source
Declaration
public abstract IEnumerable<ValidationFailure> Validate(PropertyValidatorContext context)
Returns
System.Collections.Generic.IEnumerable<ServiceStack.FluentValidation.Results.ValidationFailure>
Parameters
Type | Name |
---|---|
ServiceStack.FluentValidation.Validators.PropertyValidatorContext | context |
ValidateAsync(PropertyValidatorContext, CancellationToken)
View Source
Declaration
public virtual Task<IEnumerable<ValidationFailure>> ValidateAsync(PropertyValidatorContext context, CancellationToken cancellation)
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<ServiceStack.FluentValidation.Results.ValidationFailure>>
Parameters
Type | Name |
---|---|
ServiceStack.FluentValidation.Validators.PropertyValidatorContext | context |
System.Threading.CancellationToken | cancellation |