ControllerContextAttribute Klasa

Definicja

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

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

Konstruktory

ControllerContextAttribute()

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

Dotyczy