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)

Protected Overridable Function GetActionAttributes (
	controllerContext As ControllerContext,
	actionDescriptor As ActionDescriptor
) As IEnumerable(Of 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(Of FilterAttribute)

A collection of custom action attributes.

Return to top
Show: