Поделиться через


FilterAttributeFilterProvider.GetFilters Метод

Определение

Объединяет все фильтры всех поставщиков фильтров в одну коллекцию.

public virtual 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 Function GetFilters (controllerContext As ControllerContext, actionDescriptor As ActionDescriptor) As IEnumerable(Of Filter)

Параметры

controllerContext
ControllerContext

Контекст контроллера.

actionDescriptor
ActionDescriptor

Дескриптор действия.

Возвращаемое значение

Фильтры коллекции из всех поставщиков фильтров.

Реализации

Применяется к