FilterAttributeFilterProvider.GetActionAttributes Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Pobiera kolekcję atrybutów akcji niestandardowych.
protected virtual System.Collections.Generic.IEnumerable<System.Web.Mvc.FilterAttribute> GetActionAttributes (System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ActionDescriptor actionDescriptor);
abstract member GetActionAttributes : System.Web.Mvc.ControllerContext * System.Web.Mvc.ActionDescriptor -> seq<System.Web.Mvc.FilterAttribute>
override this.GetActionAttributes : System.Web.Mvc.ControllerContext * System.Web.Mvc.ActionDescriptor -> seq<System.Web.Mvc.FilterAttribute>
Protected Overridable Function GetActionAttributes (controllerContext As ControllerContext, actionDescriptor As ActionDescriptor) As IEnumerable(Of FilterAttribute)
Parametry
- controllerContext
- ControllerContext
Kontekst kontrolera.
- actionDescriptor
- ActionDescriptor
Deskryptor akcji.
Zwraca
Kolekcja atrybutów akcji niestandardowych.