ModelValidatorProviderCollection Class

Provides a container for a list of validation providers.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public class ModelValidatorProviderCollection : Collection<ModelValidatorProvider>

The ModelValidatorProviderCollection type exposes the following members.

  NameDescription
Public methodModelValidatorProviderCollection()Initializes a new instance of the ModelValidatorProviderCollection class.
Public methodModelValidatorProviderCollection(IList<ModelValidatorProvider>)Initializes a new instance of the ModelValidatorProviderCollection class using a list of model-validation providers.
Top

  NameDescription
Public propertyCount (Inherited from Collection<ModelValidatorProvider>.)
Public propertyItem (Inherited from Collection<ModelValidatorProvider>.)
Protected propertyItems (Inherited from Collection<ModelValidatorProvider>.)
Top

  NameDescription
Public methodAdd (Inherited from Collection<ModelValidatorProvider>.)
Public methodClear (Inherited from Collection<ModelValidatorProvider>.)
Protected methodClearItems (Inherited from Collection<ModelValidatorProvider>.)
Public methodContains (Inherited from Collection<ModelValidatorProvider>.)
Public methodCopyTo (Inherited from Collection<ModelValidatorProvider>.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumerator (Inherited from Collection<ModelValidatorProvider>.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodGetValidatorsReturns the list of model validators.
Public methodIndexOf (Inherited from Collection<ModelValidatorProvider>.)
Public methodInsert (Inherited from Collection<ModelValidatorProvider>.)
Protected methodInsertItemInserts a model-validator provider into the collection. (Overrides Collection<T>.InsertItem(Int32, T).)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemove (Inherited from Collection<ModelValidatorProvider>.)
Public methodRemoveAt (Inherited from Collection<ModelValidatorProvider>.)
Protected methodRemoveItem (Inherited from Collection<ModelValidatorProvider>.)
Protected methodSetItemReplaces the model-validator provider element at the specified index. (Overrides Collection<T>.SetItem(Int32, T).)
Public methodToString (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIList.Add (Inherited from Collection<ModelValidatorProvider>.)
Explicit interface implemetationPrivate methodIList.Contains (Inherited from Collection<ModelValidatorProvider>.)
Explicit interface implemetationPrivate methodICollection.CopyTo (Inherited from Collection<ModelValidatorProvider>.)
Explicit interface implemetationPrivate methodIEnumerable.GetEnumerator (Inherited from Collection<ModelValidatorProvider>.)
Explicit interface implemetationPrivate methodIList.IndexOf (Inherited from Collection<ModelValidatorProvider>.)
Explicit interface implemetationPrivate methodIList.Insert (Inherited from Collection<ModelValidatorProvider>.)
Explicit interface implemetationPrivate propertyIList.IsFixedSize (Inherited from Collection<ModelValidatorProvider>.)
Explicit interface implemetationPrivate propertyICollection<T>.IsReadOnly (Inherited from Collection<ModelValidatorProvider>.)
Explicit interface implemetationPrivate propertyIList.IsReadOnly (Inherited from Collection<ModelValidatorProvider>.)
Explicit interface implemetationPrivate propertyICollection.IsSynchronized (Inherited from Collection<ModelValidatorProvider>.)
Explicit interface implemetationPrivate propertyIList.Item (Inherited from Collection<ModelValidatorProvider>.)
Explicit interface implemetationPrivate methodIList.Remove (Inherited from Collection<ModelValidatorProvider>.)
Explicit interface implemetationPrivate propertyICollection.SyncRoot (Inherited from Collection<ModelValidatorProvider>.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: