ModelValidatorProviderCollection Class

 

Represents the collection of model-validator provider.

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

System.Object
  System.Collections.ObjectModel.Collection<'T>
    System.Web.Mvc.ModelValidatorProviderCollection

type ModelValidatorProviderCollection = 
    class
        inherit Collection<ModelValidatorProvider>
    end

NameDescription
System_CAPS_pubmethodModelValidatorProviderCollection()

Initializes a new instance of the ModelValidatorProviderCollection class.

System_CAPS_pubmethodModelValidatorProviderCollection(IList<ModelValidatorProvider>)

Initializes a new instance of the ModelValidatorProviderCollection class using a list of model-validation providers.

NameDescription
System_CAPS_pubpropertyCount

(Inherited from Collection<'T>.)

System_CAPS_pubpropertyItem(Int32)

(Inherited from Collection<'T>.)

System_CAPS_protpropertyItems

(Inherited from Collection<'T>.)

NameDescription
System_CAPS_pubmethodAdd('T)

(Inherited from Collection<'T>.)

System_CAPS_pubmethodClear()

(Inherited from Collection<'T>.)

System_CAPS_protmethodClearItems()

Removes all elements from the collection.(Overrides Collection<'T>.ClearItems().)

System_CAPS_pubmethodContains('T)

(Inherited from Collection<'T>.)

System_CAPS_pubmethodCopyTo('T[], Int32)

(Inherited from Collection<'T>.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

(Inherited from Collection<'T>.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetValidators(ModelMetadata, ControllerContext)

Returns the list of model validators.

System_CAPS_pubmethodIndexOf('T)

(Inherited from Collection<'T>.)

System_CAPS_pubmethodInsert(Int32, 'T)

(Inherited from Collection<'T>.)

System_CAPS_protmethodInsertItem(Int32, ModelValidatorProvider)

Inserts a model-validator provider into the collection.(Overrides Collection<'T>.InsertItem(Int32, 'T).)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemove('T)

(Inherited from Collection<'T>.)

System_CAPS_pubmethodRemoveAt(Int32)

(Inherited from Collection<'T>.)

System_CAPS_protmethodRemoveItem(Int32)

Removes the element at the specified index of the collection.(Overrides Collection<'T>.RemoveItem(Int32).)

System_CAPS_protmethodSetItem(Int32, ModelValidatorProvider)

Replaces the model-validator provider element at the specified index.(Overrides Collection<'T>.SetItem(Int32, 'T).)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubmethodAsSerializable<ModelValidatorProvider>()

Convenience API to allow an IEnumerable{T} (such as returned by Linq2Sql) to be serialized by DataContractSerilizer.(Defined by IEnumerableExtensions.)

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

Return to top
Show: