FilterAttributeFilterProvider.GetActionAttributes Method
Gets a collection of custom action attributes.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
protected virtual IEnumerable<FilterAttribute> GetActionAttributes( ControllerContext controllerContext, ActionDescriptor actionDescriptor )
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 custom action attributes.
Show: