Sdílet prostřednictvím


ReflectedActionDescriptor Třída

Definice

Obsahuje informace, které popisují promítnutou metodu akce.

public class ReflectedActionDescriptor : System.Web.Mvc.ActionDescriptor, System.Web.Mvc.IMethodInfoActionDescriptor
type ReflectedActionDescriptor = class
    inherit ActionDescriptor
    interface IMethodInfoActionDescriptor
Public Class ReflectedActionDescriptor
Inherits ActionDescriptor
Implements IMethodInfoActionDescriptor
Dědičnost
ReflectedActionDescriptor
Implementuje

Konstruktory

ReflectedActionDescriptor(MethodInfo, String, ControllerDescriptor)

Inicializuje novou instanci ReflectedActionDescriptor třídy.

Vlastnosti

ActionName

Získá název akce.

ControllerDescriptor

Získá popisovač kontroleru.

MethodInfo

Získá nebo nastaví informace o metodě akce.

UniqueId

Získá jedinečné ID pro odražený akci popisovač pomocí opožděné inicializace.

Metody

Execute(ControllerContext, IDictionary<String,Object>)

Spustí zadaný kontext kontroleru pomocí zadaných parametrů metody akce.

GetCustomAttributes(Boolean)

Vrátí pole vlastních atributů definovaných pro tohoto člena s výjimkou pojmenovaných atributů.

GetCustomAttributes(Type, Boolean)

Vrátí pole vlastních atributů definovaných pro tohoto člena, které jsou identifikovány typem.

GetFilterAttributes(Boolean)

Získá atributy filtru.

GetFilters()
Zastaralé.

Vrátí filtry, které jsou přidruženy k této metodě akce.

(Zděděno od ActionDescriptor)
GetParameters()

Načte parametry metody akce.

GetSelectors()

Načte selektory akcí.

IsDefined(Type, Boolean)

Určuje, zda je pro tohoto člena definována jedna nebo více instancí vlastního typu atributu.

Platí pro