ValueProviderCollection Class

 

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

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

Inheritance Hierarchy

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

Syntax

public class ValueProviderCollection : Collection<IValueProvider>, 
    IUnvalidatedValueProvider, IEnumerableValueProvider, IValueProvider
public ref class ValueProviderCollection : Collection<IValueProvider^>, 
    IUnvalidatedValueProvider, IEnumerableValueProvider, IValueProvider
type ValueProviderCollection = 
    class
        inherit Collection<IValueProvider>
        interface IUnvalidatedValueProvider
        interface IEnumerableValueProvider
        interface IValueProvider
    end
Public Class ValueProviderCollection
    Inherits Collection(Of IValueProvider)
    Implements IUnvalidatedValueProvider, IEnumerableValueProvider,
    IValueProvider

Constructors

Name Description
System_CAPS_pubmethod ValueProviderCollection()

Initializes a new instance of the ValueProviderCollection class.

System_CAPS_pubmethod ValueProviderCollection(IList<IValueProvider>)

Initializes a new instance of the ValueProviderCollection class and registers the specified value providers.

Properties

Name Description
System_CAPS_pubproperty Count

(Inherited from Collection<T>.)

System_CAPS_pubproperty Item[Int32]

(Inherited from Collection<T>.)

System_CAPS_protproperty Items

(Inherited from Collection<T>.)

Methods

Name Description
System_CAPS_pubmethod Add(T)

(Inherited from Collection<T>.)

System_CAPS_pubmethod Clear()

(Inherited from Collection<T>.)

System_CAPS_protmethod ClearItems()

(Inherited from Collection<T>.)

System_CAPS_pubmethod Contains(T)

(Inherited from Collection<T>.)

System_CAPS_pubmethod ContainsPrefix(String)

Determines whether the collection contains the specified prefix.

System_CAPS_pubmethod CopyTo(T[], Int32)

(Inherited from Collection<T>.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetEnumerator()

(Inherited from Collection<T>.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetKeysFromPrefix(String)

Gets the keys using the specified prefix.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod GetValue(String)

Returns a value object using the specified key.

System_CAPS_pubmethod GetValue(String, Boolean)

Returns a value object using the specified key and skip-validation parameter.

System_CAPS_pubmethod IndexOf(T)

(Inherited from Collection<T>.)

System_CAPS_pubmethod Insert(Int32, T)

(Inherited from Collection<T>.)

System_CAPS_protmethod InsertItem(Int32, IValueProvider)

Inserts the specified value-provider object into the collection at the specified index location.(Overrides Collection<T>.InsertItem(Int32, T).)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod Remove(T)

(Inherited from Collection<T>.)

System_CAPS_pubmethod RemoveAt(Int32)

(Inherited from Collection<T>.)

System_CAPS_protmethod RemoveItem(Int32)

(Inherited from Collection<T>.)

System_CAPS_protmethod SetItem(Int32, IValueProvider)

Replaces the value provider at the specified index location with a new value provider.(Overrides Collection<T>.SetItem(Int32, T).)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection.CopyTo(Array, Int32)

(Inherited from Collection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IEnumerable.GetEnumerator()

(Inherited from Collection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Add(Object)

(Inherited from Collection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Contains(Object)

(Inherited from Collection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.IndexOf(Object)

(Inherited from Collection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Insert(Int32, Object)

(Inherited from Collection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Remove(Object)

(Inherited from Collection<T>.)

Extension Methods

Name Description
System_CAPS_pubmethod AsSerializable<IValueProvider>()

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

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

System.Web.Mvc Namespace

Return to top