FilterProviderCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |