ValueProviderCollection Class

Represents the collection of value-provider objects for the application.

Inheritance Hierarchy

System.Object
  System.Collections.ObjectModel.Collection<IValueProvider>
    System.Web.Mvc.ValueProviderCollection

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

Syntax

'Declaration
Public Class ValueProviderCollection _
    Inherits Collection(Of IValueProvider) _
    Implements IUnvalidatedValueProvider, IValueProvider
'Usage
Dim instance As ValueProviderCollection
public class ValueProviderCollection : Collection<IValueProvider>, 
    IUnvalidatedValueProvider, IValueProvider
public ref class ValueProviderCollection : public Collection<IValueProvider^>, 
    IUnvalidatedValueProvider, IValueProvider
public class ValueProviderCollection extends Collection<IValueProvider> implements IUnvalidatedValueProvider, IValueProvider

The ValueProviderCollection type exposes the following members.

Constructors

  Name Description
Public method ValueProviderCollection() Initializes a new instance of the ValueProviderCollection class.
Public method ValueProviderCollection(IList<IValueProvider>) Initializes a new instance of the ValueProviderCollection class and registers the specified value providers.

Top

Properties

  Name Description
Public property Count (Inherited from Collection<IValueProvider>.)
Public property Item (Inherited from Collection<IValueProvider>.)
Protected property Items (Inherited from Collection<IValueProvider>.)

Top

Methods

  Name Description
Public method Add (Inherited from Collection<IValueProvider>.)
Public method Clear (Inherited from Collection<IValueProvider>.)
Protected method ClearItems (Inherited from Collection<IValueProvider>.)
Public method Contains (Inherited from Collection<IValueProvider>.)
Public method ContainsPrefix Determines whether the collection contains the specified prefix.
Public method CopyTo (Inherited from Collection<IValueProvider>.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator (Inherited from Collection<IValueProvider>.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetValue(String) Returns a value object using the specified key.
Public method GetValue(String, Boolean) Returns a value object using the specified key and skip-validation parameter.
Public method IndexOf (Inherited from Collection<IValueProvider>.)
Public method Insert (Inherited from Collection<IValueProvider>.)
Protected method InsertItem Inserts the specified value-provider object into the collection at the specified index location. (Overrides Collection<T>.InsertItem(Int32, T).)
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove (Inherited from Collection<IValueProvider>.)
Public method RemoveAt (Inherited from Collection<IValueProvider>.)
Protected method RemoveItem (Inherited from Collection<IValueProvider>.)
Protected method SetItem Replaces the value provider at the specified index location with a new value provider. (Overrides Collection<T>.SetItem(Int32, T).)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IList.Add (Inherited from Collection<IValueProvider>.)
Explicit interface implemetationPrivate method IList.Contains (Inherited from Collection<IValueProvider>.)
Explicit interface implemetationPrivate method ICollection.CopyTo (Inherited from Collection<IValueProvider>.)
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator (Inherited from Collection<IValueProvider>.)
Explicit interface implemetationPrivate method IList.IndexOf (Inherited from Collection<IValueProvider>.)
Explicit interface implemetationPrivate method IList.Insert (Inherited from Collection<IValueProvider>.)
Explicit interface implemetationPrivate property IList.IsFixedSize (Inherited from Collection<IValueProvider>.)
Explicit interface implemetationPrivate property ICollection<T>.IsReadOnly (Inherited from Collection<IValueProvider>.)
Explicit interface implemetationPrivate property IList.IsReadOnly (Inherited from Collection<IValueProvider>.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized (Inherited from Collection<IValueProvider>.)
Explicit interface implemetationPrivate property IList.Item (Inherited from Collection<IValueProvider>.)
Explicit interface implemetationPrivate method IList.Remove (Inherited from Collection<IValueProvider>.)
Explicit interface implemetationPrivate property ICollection.SyncRoot (Inherited from Collection<IValueProvider>.)

Top

Thread Safety

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

See Also

Reference

System.Web.Mvc Namespace