ActionContextAttribute Klasa

Definicja

Określa, że właściwość kontrolera powinna być ustawiona z bieżącym ActionContext podczas tworzenia kontrolera. Właściwość musi mieć metodę zestawu publicznego.

public ref class ActionContextAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public class ActionContextAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type ActionContextAttribute = class
    inherit Attribute
Public Class ActionContextAttribute
Inherits Attribute
Dziedziczenie
ActionContextAttribute
Atrybuty

Konstruktory

ActionContextAttribute()

Określa, że właściwość kontrolera powinna być ustawiona z bieżącym ActionContext podczas tworzenia kontrolera. Właściwość musi mieć metodę zestawu publicznego.

Dotyczy