Click or drag to resize

Xploration.Validation Namespace

The Xploration.Validation namespace contains all the types of the Xploration validation framework.
Classes
  ClassDescription
Public classClassContextT
A specialized validation context for validating objects of type T.
Public classClassValidator
Public classClassValidatorTClass
Defines a validator for objects of type T.
Public classCollectionValidatorT
Defines a base class for validating collections.
Public classDelegatedElementValidatorT
Public classDisallowedElementValidatorT
Defines a validator that disallows a certain entity to be present in a collection.
Public classElementValidatorT
Defines a base class for validating elements of a collection.
Public classErrorFactoryT
Class that provides functionality to resolve a ValidationResult to an user defined error object by constructing objects of type T.
Public classErrorMessage
Class that provides an error message for a validation result of an IValidator.
Public classErrorProvider
Defines a base class for resolving a given ValidationResult to an user defined error object.
Public classErrorResolverT
Class that provides functionality to resolve a ValidationResult to an user defined error entity by calling a resolver method.
Public classErrorValueT
An ErrorProvider that provides an error entity for a validation result.
Public classExpressionValidatorT
Defines a validator that validates an entity with an expression.
Public classFluentAPIExtensions
Class that provides extension methods for the fluent API.
Public classIErrorProviderExtensions
Class that provides extension methods for the IErrorProvider interface.
Public classIValidatorExtensions
Class that provides extension methods for the IValidatorExtensions interface.
Public classMaxElementsValidator
Defines a validator that allows up to a certain amount of elements in a collection.
Public classMaxLengthValidator
Defines a validator for the maximum length of a string.
Public classMaxValueValidatorT
Defines a validator for the maximum value of an entity.
Public classMinElementsValidator
Defines a validator that requires a minimum amount of elements in a collection.
Public classMinLengthValidator
Defines a validator for the minimum length of a string.
Public classMinValueValidatorT
Defines a validator for the minimum value of an entity.
Public classNotNullOrEmptyValidator
Defines a validator that requires a string not to be null or empty.
Public classNotNullOrWhiteSpaceValidator
Defines a validator that requires a string not to be null, empty, or consists only of white-space.
Public classPermittedValuesValidatorT
Defines a validator that requires an entity to be a member of a predefined set of entities.
Public classPropertyContext
Class that defines a validation context for a property of an object.
Public classPropertyContextTClass
Generic version of the PropertyContext class which defines a validation context for a property of an object.
Public classPropertyValidatorTClass
Defines a validator for a property that is declared by a class of type T.
Public classReadOnlyValidator
Defines a validator that doesn't allow changes to an entity.
Public classRegexValidator
Defines a validator that uses a Regex to validate a string value.
Public classRequiredElementValidatorT
Defines a validator that requires a collection to contain a certain element.
Public classRequiredValidator
Defines a validator that requires an entity to be other than its default type value or null.
Public classTransitionResolver
Class that provides functionality to determine the transition state of an entity.
Public classValidationContext
Class that represents a validation context for an entity.
Public classValidationContextT
Generic version of the ValidationContext class which represents a validation context for an entity.
Public classValidationContextExtensions
Class that provides extension methods for the ValidationContext class.
Public classValidationException
The exception that is thrown when a validation process detected validation failures.
Public classValidationResult
Class that represents a validation result of a context.
Public classValidationResultExtensions
Class that provides extension methods for the ValidationResult class.
Public classValidator
Base class that provides functionality to validate a ValidationContext and register the result to a context.
Public classValidatorT
Generic version of the Validator class which provides functionality to validate a ValidationContext and register the result to a context. .
Public classWriteOnceValidator
Defines a validator that only allows an entity transition of Unchanged or Assigned.
Interfaces
  InterfaceDescription
Public interfaceIAndBuilderT
Interface that represents an "And" function that returns a validator builder.
Public interfaceIDelegatedValidator
Interface that represents a validator which delegates validation to a contained validator.
Public interfaceIEntityValidatorBuilderT
Interface that provides functionality to add a validator to a fluent API statement.
Public interfaceIErrorBuilderT
Interface that provides functionality to include an IErrorProvider in a fluent API statement.
Public interfaceIErrorProvider
Interface that is able to resolve a ValidationResult to an user defined error object.
Public interfaceIExecutableAndBuilderT
Interface that provides functionality to execute or start a new fluent API statement.
Public interfaceIExecutableBuilder
Interface that provides functionality to execute a fluent API statement.
Public interfaceIExecutableErrorBuilderT
Interface that provides functionality to execute or to include an IErrorProvider to a fluent API statement.
Public interfaceIIfBuilderTClass, TProperty
Interface that provides functionality to include a run condition in a fluent API statement.
Public interfaceIPropertyAndBuilderTClass, TProperty
Interface that represents an "And" function that returns a property validator builder.
Public interfaceIPropertyErrorBuilderTClass, TProperty
Interface that provides functionality to include an IErrorProvider in a fluent API statement for a property.
Public interfaceIPropertyValidatorBuilderTClass, TProperty
Interface that provides functionality to include a validator for a property in a fluent API statement.
Public interfaceIValidator
Interface that provides functionality to validate a ValidationContext.
Public interfaceIValidatorT
Generic version of the IValidator interface which provides functionality to validate a ValidationContext.
Enumerations
  EnumerationDescription
Public enumerationCode exampleStateTransition
Enum that defines the transition of an entity.