Click or drag to resize

ElementValidatorT Class

Defines a base class for validating elements of a collection.
Inheritance Hierarchy
SystemObject
  Xploration.ValidationCollectionValidatorT
    Xploration.ValidationElementValidatorT
      Xploration.ValidationDelegatedElementValidatorT

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

Type Parameters

T
The element type.

The ElementValidatorT type exposes the following members.

Constructors
  NameDescription
Protected methodElementValidatorT
Initializes a new instance of the ElementValidatorT class
Top
Properties
  NameDescription
Public propertyErrorProvider
Gets or sets the error provider.
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.
(Inherited from CollectionValidatorT.)
Public methodValidateAsync(IEnumerableT)
Validates the given collection asynchronously and determines if the collection is valid.
(Inherited from CollectionValidatorT.)
Public methodValidateAsync(ValidationContext)
Validates the context asynchronously and determines if the collection is valid.
(Inherited from CollectionValidatorT.)
Public methodValidateAsync(ValidationContextIEnumerableT)
Validates the context asynchronously and determines if the collection is valid.
(Overrides CollectionValidatorTValidateAsync(ValidationContextIEnumerableT).)
Protected methodValidateAsync(ValidationContextT)
Validates an element context asynchronously and determines if the element is valid.
Public methodValidateAsync(IEnumerableT, IEnumerableT)
Validates the given new collection against the old collection asynchronously and determines if the new collection is valid.
(Inherited from CollectionValidatorT.)
Top
See Also