nspectre - declarative validation for .NET

SpecificationCollection Members

SpecificationCollection overview

Public Instance Constructors

SpecificationCollection Constructor Creates a new instance of SpecificationBaseCollection.

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.SpecificationBase at the given index.
SyncRoot Gets an object that can be used to synchronize access.

Public Instance Methods

Add Adds a Specification.Core.SpecificationBase.
Clear Removes all elements.
Contains Determines whether the given Specification.Core.SpecificationBase 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.
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.SpecificationBase.
Insert Inserts a Specification.Core.SpecificationBase at the given location.
Remove Removes a Specification.Core.SpecificationBase.
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

SpecificationCollection Class | NSpectre.Core.Configuration Namespace