Sdílet prostřednictvím


ActionMethodSelectorAttribute Třída

Definice

Představuje atribut, který se používá k ovlivnění výběru metody akce.

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public abstract class ActionMethodSelectorAttribute : Attribute
type ActionMethodSelectorAttribute = class
    inherit Attribute
Public MustInherit Class ActionMethodSelectorAttribute
Inherits Attribute
Dědičnost
ActionMethodSelectorAttribute
Odvozené
Atributy

Konstruktory

ActionMethodSelectorAttribute()

Inicializuje novou instanci ActionMethodSelectorAttribute třídy.

Metody

IsValidForRequest(ControllerContext, MethodInfo)

Určuje, zda je výběr metody akce platný pro zadaný kontext kontroleru.

Platí pro