Skip to main content

Namespace ServiceStack.FluentValidation

Classes

AbstractValidator<T>

Base class for object validators.

AssemblyScanner

Class that can be used to find all the validators from a collection of types.

AssemblyScanner.AssemblyScanResult

Result of performing a scan.

DefaultValidator<T>

DefaultValidatorExtensions

Extension methods that provide the default set of validators.

DefaultValidatorExtensionsServiceStack

DefaultValidatorOptions

Default options that can be used to configure a validator.

InlineValidator<T>

Validator implementation that allows rules to be defined without inheriting from AbstractValidator.

PropertyValidatorOptions

Validator metadata.

ValidationContext<T>

Validation context

ValidationErrors

ValidationException

An exception that represents failed validation

ValidatorConfiguration

Configuration options for validators.

ValidatorDescriptor<T>

Used for providing metadata about a validator.

ValidatorDescriptor<T>.RulesetMetadata

Information about rulesets

ValidatorFactoryBase

Factory for creating validators

ValidatorOptions

Validator runtime options

ValidatorSelectorOptions

ValidatorSelector options

Interfaces

ICommonContext

Defines a validation context.

IConditionBuilder

Fluent interface for conditions (When/Unless/WhenAsync/UnlessAsync)

IDefaultValidator

IParameterValidatorFactory

Gets validators for method parameters.

[ IRuleBuilder<T, TProperty>](../ServiceStack.FluentValidation/IRuleBuilderT, TProperty)

Rule builder

[ IRuleBuilderInitial<T, TProperty>](../ServiceStack.FluentValidation/IRuleBuilderInitialT, TProperty)

Rule builder that starts the chain

[ IRuleBuilderInitialCollection<T, TElement>](../ServiceStack.FluentValidation/IRuleBuilderInitialCollectionT, TElement)

Rule builder that starts the chain for a child collection

[ IRuleBuilderOptions<T, TProperty>](../ServiceStack.FluentValidation/IRuleBuilderOptionsT, TProperty)

Rule builder

IServiceStackValidator

IValidationContext

Validation context

IValidationRule

Defines a rule associated with a property which can have multiple validators.

IValidator

Defines a validator for a particular type.

IValidator<T>

Defines a validator for a particular type.

IValidatorDescriptor

Provides metadata about a validator.

IValidatorFactory

Gets validators for a particular type.

Enums

ApplyConditionTo

Specifies where a When/Unless condition should be applied

CascadeMode

Specifies how rules should cascade when one fails.

Severity

Specifies the severity of a rule.