ControllerContextAttribute Třída

Definice

Určuje, že vlastnost kontroleru by měla být nastavena s aktuální ControllerContext při vytváření kontroleru. Vlastnost musí mít metodu veřejné sady.

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
Dědičnost
ControllerContextAttribute
Atributy

Konstruktory

ControllerContextAttribute()

Platí pro