FilterProviderCollection FilterProviderCollection 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
FilterProviderCollectionFilterProviderCollectionFilterProviderCollection

Constructors

FilterProviderCollection() FilterProviderCollection() FilterProviderCollection()

Initializes a new instance of the FilterProviderCollection class.

FilterProviderCollection(IList<IFilterProvider>) FilterProviderCollection(IList<IFilterProvider>) FilterProviderCollection(IList<IFilterProvider>)

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

Methods

ClearItems() ClearItems() ClearItems()

Removes all elements from the collection.

GetFilters(ControllerContext, ActionDescriptor) GetFilters(ControllerContext, ActionDescriptor) GetFilters(ControllerContext, ActionDescriptor)

Returns the collection of filter providers.

InsertItem(Int32, IFilterProvider) InsertItem(Int32, IFilterProvider) InsertItem(Int32, IFilterProvider)

Inserts an element into the collection at the specified index.

RemoveItem(Int32) RemoveItem(Int32) RemoveItem(Int32)

Removes the element at the specified index of the collection

SetItem(Int32, IFilterProvider) SetItem(Int32, IFilterProvider) SetItem(Int32, IFilterProvider)

Replaces the element at the specified index.

Applies to