nspectre - declarative validation for .NET

ValidationErrorCollection Members

ValidationErrorCollection overview

Public Instance Constructors

ValidationErrorCollection Constructor Creates a new instance of ValidationErrorCollection.

Public Instance Properties

Count Gets the number of elements.
IsFixedSize Gets a value indicating whether the collection has a fixed size.
IsSynchronized Gets a value indicating whether access is synchronized (thread-safe).
Item Gets or sets the Specification.Core.ValidationError at the given index.
SyncRoot Gets an object that can be used to synchronize access.

Public Instance Methods

Add Adds a Specification.Core.ValidationError.
Clear Removes all elements.
Contains Determines whether the given Specification.Core.ValidationError is contained in this collection.
CopyTo Copies the elements to an System.Array, starting at a particular System.Array index.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetEnumerator Gets an System.Collections.IEnumerator that can be used to iterate through the collection.
GetErrorsByKey Iterates over the ValidationErrorCollection and returns all ValidationError objects whose key match the requested key
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
IndexOf Determines the index of a given Specification.Core.ValidationError.
Insert Inserts a Specification.Core.ValidationError at the given location.
Remove Removes a Specification.Core.ValidationError.
RemoveAt Removes the element at a given index.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

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.

See Also

ValidationErrorCollection Class | NSpectre.Core Namespace