Partager via


FilterProviderCollection Class

Represents the collection of filter providers for the application.

Inheritance Hierarchy

System.Object
  System.Collections.ObjectModel.Collection<IFilterProvider>
    System.Web.Mvc.FilterProviderCollection

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Class FilterProviderCollection _
    Inherits Collection(Of IFilterProvider)
'Usage
Dim instance As FilterProviderCollection
public class FilterProviderCollection : Collection<IFilterProvider>
public ref class FilterProviderCollection : public Collection<IFilterProvider^>
public class FilterProviderCollection extends Collection<IFilterProvider>

The FilterProviderCollection type exposes the following members.

Constructors

  Name Description
Public method FilterProviderCollection() Initializes a new instance of the FilterProviderCollection class.
Public method FilterProviderCollection(IList<IFilterProvider>) Initializes a new instance of the FilterProviderCollection class using the filter providers collection.

Top

Properties

  Name Description
Public property Count (Inherited from Collection<IFilterProvider>.)
Public property Item (Inherited from Collection<IFilterProvider>.)
Protected property Items (Inherited from Collection<IFilterProvider>.)

Top

Methods

  Name Description
Public method Add (Inherited from Collection<IFilterProvider>.)
Public method Clear (Inherited from Collection<IFilterProvider>.)
Protected method ClearItems (Inherited from Collection<IFilterProvider>.)
Public method Contains (Inherited from Collection<IFilterProvider>.)
Public method CopyTo (Inherited from Collection<IFilterProvider>.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator (Inherited from Collection<IFilterProvider>.)
Public method GetFilters Returns the collection of filter providers.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method IndexOf (Inherited from Collection<IFilterProvider>.)
Public method Insert (Inherited from Collection<IFilterProvider>.)
Protected method InsertItem (Inherited from Collection<IFilterProvider>.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove (Inherited from Collection<IFilterProvider>.)
Public method RemoveAt (Inherited from Collection<IFilterProvider>.)
Protected method RemoveItem (Inherited from Collection<IFilterProvider>.)
Protected method SetItem (Inherited from Collection<IFilterProvider>.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IList.Add (Inherited from Collection<IFilterProvider>.)
Explicit interface implemetationPrivate method IList.Contains (Inherited from Collection<IFilterProvider>.)
Explicit interface implemetationPrivate method ICollection.CopyTo (Inherited from Collection<IFilterProvider>.)
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator (Inherited from Collection<IFilterProvider>.)
Explicit interface implemetationPrivate method IList.IndexOf (Inherited from Collection<IFilterProvider>.)
Explicit interface implemetationPrivate method IList.Insert (Inherited from Collection<IFilterProvider>.)
Explicit interface implemetationPrivate property IList.IsFixedSize (Inherited from Collection<IFilterProvider>.)
Explicit interface implemetationPrivate property ICollection<T>.IsReadOnly (Inherited from Collection<IFilterProvider>.)
Explicit interface implemetationPrivate property IList.IsReadOnly (Inherited from Collection<IFilterProvider>.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized (Inherited from Collection<IFilterProvider>.)
Explicit interface implemetationPrivate property IList.Item (Inherited from Collection<IFilterProvider>.)
Explicit interface implemetationPrivate method IList.Remove (Inherited from Collection<IFilterProvider>.)
Explicit interface implemetationPrivate property ICollection.SyncRoot (Inherited from Collection<IFilterProvider>.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Mvc Namespace

Other Resources

Filtering in ASP.NET MVC