ValueProviderFactoryCollection Class

Definition

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

public class ValueProviderFactoryCollection : System.Collections.ObjectModel.Collection<System.Web.Mvc.ValueProviderFactory>
type ValueProviderFactoryCollection = class
    inherit Collection<ValueProviderFactory>
Public Class ValueProviderFactoryCollection
Inherits Collection(Of ValueProviderFactory)
Inheritance
ValueProviderFactoryCollection

Constructors

ValueProviderFactoryCollection()

Initializes a new instance of the ValueProviderFactoryCollection class.

ValueProviderFactoryCollection(IList<ValueProviderFactory>)

Initializes a new instance of the ValueProviderFactoryCollection class using the specified list of value-provider factories.

Methods

ClearItems()

Removes all elements from the collection.

GetValueProvider(ControllerContext)

Returns the value-provider factory for the specified controller context.

InsertItem(Int32, ValueProviderFactory)

Inserts the specified value-provider factory object at the specified index location.

RemoveItem(Int32)

Removes the element at the specified index of the Collection<T>.

SetItem(Int32, ValueProviderFactory)

Sets the specified value-provider factory object at the given index location.

Applies to