ControllerInstanceFilterProvider.GetFilters Method
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.
Returns the collection of controller instance filters.
public System.Collections.Generic.IEnumerable<System.Web.Mvc.Filter> GetFilters (System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ActionDescriptor actionDescriptor);
abstract member GetFilters : System.Web.Mvc.ControllerContext * System.Web.Mvc.ActionDescriptor -> seq<System.Web.Mvc.Filter>
override this.GetFilters : System.Web.Mvc.ControllerContext * System.Web.Mvc.ActionDescriptor -> seq<System.Web.Mvc.Filter>
Public Iterator Overridable NotOverridable Function GetFilters (controllerContext As ControllerContext, actionDescriptor As ActionDescriptor) As IEnumerable(Of Filter)
Parameters
- controllerContext
- ControllerContext
The controller context.
- actionDescriptor
- ActionDescriptor
The action descriptor.
Returns
The collection of controller instance filters.