Delen via


FilterProviderCollection Class

Definition

Represents the collection of filter providers for the application.

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

Constructors

FilterProviderCollection()

Initializes a new instance of the FilterProviderCollection class.

FilterProviderCollection(IList<IFilterProvider>)

Initializes a new instance of the FilterProviderCollection class with specified list of filter provider.

Methods

ClearItems()

Removes all elements from the collection.

GetFilters(ControllerContext, ActionDescriptor)

Returns the collection of filter providers.

InsertItem(Int32, IFilterProvider)

Inserts an element into the collection at the specified index.

RemoveItem(Int32)

Removes the element at the specified index of the collection

SetItem(Int32, IFilterProvider)

Replaces the element at the specified index.

Applies to