Click or drag to resize

CollectionValidatorT Class

Defines a base class for validating collections.
Inheritance Hierarchy
SystemObject
  Xploration.ValidationCollectionValidatorT
    Xploration.ValidationElementValidatorT

Namespace:  Xploration.Validation
Assembly:  Xploration.Validation (in Xploration.Validation.dll) Version: 1.0.0-alpha1
Syntax
public abstract class CollectionValidator<T> : IValidator<IEnumerable>, 
	IValidator, IValidator<IEnumerable<T>>

Type Parameters

T
The element type of the collection.

The CollectionValidatorT type exposes the following members.

Constructors
  NameDescription
Protected methodCollectionValidatorT
Initializes a new instance of the CollectionValidatorT class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Public methodValidateAsync(IEnumerableT)
Validates the given collection asynchronously and determines if the collection is valid.
Public methodValidateAsync(ValidationContext)
Validates the context asynchronously and determines if the collection is valid.
Public methodValidateAsync(ValidationContextIEnumerableT)
Validates the context asynchronously and determines if the collection is valid.
Public methodValidateAsync(IEnumerableT, IEnumerableT)
Validates the given new collection against the old collection asynchronously and determines if the new collection is valid.
Top
Extension Methods
  NameDescription
Public Extension MethodExecuteAsync(Object)Overloaded.
Validates the given value asynchronously and returns the validation results.
(Defined by IValidatorExtensions.)
Public Extension MethodExecuteAsync(ValidationContext)Overloaded.
Validates the given context asynchronously and returns the validation results.
(Defined by IValidatorExtensions.)
Public Extension MethodExecuteAsync(Object, Object)Overloaded.
Validates the given new value against the old value asynchronously and returns the validation results.
(Defined by IValidatorExtensions.)
Public Extension MethodExecuteAsyncIEnumerable(IEnumerable)Overloaded.
Validates the given value asynchronously and returns the validation results.
(Defined by IValidatorExtensions.)
Public Extension MethodExecuteAsyncIEnumerableT(IEnumerableT)Overloaded. (Defined by IValidatorExtensions.)
Public Extension MethodExecuteAsyncIEnumerable(ValidationContextIEnumerable)Overloaded.
Validates the given context asynchronously and returns the validation results.
(Defined by IValidatorExtensions.)
Public Extension MethodExecuteAsyncIEnumerableT(ValidationContextIEnumerableT)Overloaded. (Defined by IValidatorExtensions.)
Public Extension MethodExecuteAsyncIEnumerable(IEnumerable, IEnumerable)Overloaded.
Validates the given new value against the old value asynchronously and returns the validation results.
(Defined by IValidatorExtensions.)
Public Extension MethodExecuteAsyncIEnumerableT(IEnumerableT, IEnumerableT)Overloaded. (Defined by IValidatorExtensions.)
Public Extension MethodGetConcreteValidator
Returns the concrete validator of the current validator if the current validator is an IDelegatedValidator.
(Defined by IValidatorExtensions.)
Top
See Also