FilterAttributeFilterProvider.GetActionAttributes Method (ControllerContext, ActionDescriptor)

 

Gets a collection of custom action attributes.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

protected virtual IEnumerable<FilterAttribute> GetActionAttributes(
    ControllerContext controllerContext,
    ActionDescriptor actionDescriptor
)
protected:
virtual IEnumerable<FilterAttribute^>^ GetActionAttributes(
    ControllerContext^ controllerContext,
    ActionDescriptor^ actionDescriptor
)
abstract GetActionAttributes : 
        controllerContext:ControllerContext *
        actionDescriptor:ActionDescriptor -> IEnumerable<FilterAttribute>
override GetActionAttributes : 
        controllerContext:ControllerContext *
        actionDescriptor:ActionDescriptor -> IEnumerable<FilterAttribute>
Protected Overridable Function GetActionAttributes (
    controllerContext As ControllerContext,
    actionDescriptor As ActionDescriptor
) As IEnumerable(Of FilterAttribute)

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<FilterAttribute>

A collection of custom action attributes.

See Also

FilterAttributeFilterProvider Class
System.Web.Mvc Namespace

Return to top