Bagikan melalui


ActionMethodSelectorAttribute Kelas

Definisi

Mewakili atribut yang digunakan untuk memengaruhi pemilihan metode tindakan.

[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
Warisan
ActionMethodSelectorAttribute
Turunan
Atribut

Konstruktor

ActionMethodSelectorAttribute()

Menginisialisasi instans baru kelas ActionMethodSelectorAttribute.

Metode

IsValidForRequest(ControllerContext, MethodInfo)

Menentukan apakah pilihan metode tindakan valid untuk konteks pengontrol yang ditentukan.

Berlaku untuk