FilterAttributeFilterProvider.GetControllerAttributes Method
Gets a collection of controller attributes.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
abstract GetControllerAttributes : controllerContext:ControllerContext * actionDescriptor:ActionDescriptor -> IEnumerable<FilterAttribute> override GetControllerAttributes : controllerContext:ControllerContext * actionDescriptor:ActionDescriptor -> IEnumerable<FilterAttribute>
Parameters
- controllerContext
- Type: System.Web.Mvc.ControllerContext
The controller context.
- actionDescriptor
- Type: System.Web.Mvc.ActionDescriptor
The action descriptor.
Return Value
Type: System.Collections.Generic.IEnumerable(FilterAttribute)A collection of controller attributes.
Show: