Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CollectionValidator Members

CollectionValidator overview

Public Instance Constructors

CollectionValidator Overloaded. Initializes a new instance of the CollectionValidator class.

Public Instance Properties

Actions (inherited from BaseValidator) Gets or sets the validation actions.
Context Gets or sets the expression that should be used to narrow validation context.
FastValidate (inherited from BaseValidatorGroup) When set true, shortcircuits evaluation.
IncludeElementErrors Gets or sets the value that indicates whether to capture all the errors of the specific elements of the collection
ValidateAll Gets or sets the value that indicates whether to validate all elements of the collection regardless of the errors.
Validators (inherited from BaseValidatorGroup) Gets or sets the child validators.
When (inherited from BaseValidator) Gets or sets the expression that determines if this validator should be evaluated.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.
ValidateOverloaded. Validates the specified collection of objects. If the IncludeElementErrors property was set to true, errors collection will contain a union of all validation error messages for the contained validators; Otherwise it will contain only error messages that were set for this Validator.
Validate (inherited from BaseValidator)Overloaded. Validates the specified object.

Protected Instance Methods

EvaluateWhen (inherited from BaseValidator) Evaluates when expression.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
ProcessActions (inherited from BaseValidator) Processes the error messages.
ValidateGroup Actual implementation how to validate the specified object.

See Also

CollectionValidator Class | Spring.Validation Namespace