ValueProviderCollection ValueProviderCollection ValueProviderCollection Class

Definition

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

public class ValueProviderCollection : System.Collections.ObjectModel.Collection<System.Web.Mvc.IValueProvider>, System.Web.Mvc.IEnumerableValueProvider, System.Web.Mvc.IUnvalidatedValueProvider
type ValueProviderCollection = class
    inherit Collection<IValueProvider>
    interface IValueProvider
    interface IUnvalidatedValueProvider
    interface IEnumerableValueProvider
Public Class ValueProviderCollection
Inherits Collection(Of IValueProvider)
Implements IEnumerableValueProvider, IUnvalidatedValueProvider
Inheritance
ValueProviderCollectionValueProviderCollectionValueProviderCollection
Implements

Constructors

ValueProviderCollection() ValueProviderCollection() ValueProviderCollection()

Initializes a new instance of the ValueProviderCollection class.

ValueProviderCollection(IList<IValueProvider>) ValueProviderCollection(IList<IValueProvider>) ValueProviderCollection(IList<IValueProvider>)

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

Methods

ContainsPrefix(String) ContainsPrefix(String) ContainsPrefix(String)

Determines whether the collection contains the specified prefix.

GetKeysFromPrefix(String) GetKeysFromPrefix(String) GetKeysFromPrefix(String)

Gets the keys using the specified prefix.

GetValue(String) GetValue(String) GetValue(String)

Returns a value object using the specified key.

GetValue(String, Boolean) GetValue(String, Boolean) GetValue(String, Boolean)

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

InsertItem(Int32, IValueProvider) InsertItem(Int32, IValueProvider) InsertItem(Int32, IValueProvider)

Inserts the specified value-provider object into the collection at the specified index location.

SetItem(Int32, IValueProvider) SetItem(Int32, IValueProvider) SetItem(Int32, IValueProvider)

Replaces the value provider at the specified index location with a new value provider.

Applies to