ControllerActionInvoker.GetFilters 方法

定义

检索有关操作筛选器的信息。

protected virtual System.Web.Mvc.FilterInfo GetFilters (System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ActionDescriptor actionDescriptor);
abstract member GetFilters : System.Web.Mvc.ControllerContext * System.Web.Mvc.ActionDescriptor -> System.Web.Mvc.FilterInfo
override this.GetFilters : System.Web.Mvc.ControllerContext * System.Web.Mvc.ActionDescriptor -> System.Web.Mvc.FilterInfo
Protected Overridable Function GetFilters (controllerContext As ControllerContext, actionDescriptor As ActionDescriptor) As FilterInfo

参数

controllerContext
ControllerContext

控制器上下文。

actionDescriptor
ActionDescriptor

操作描述符。

返回

有关操作筛选器的信息。

适用于