ControllerContextAttribute Třída

Definice

Určuje, že vlastnost kontroleru by měla být při vytváření kontroleru nastavena na aktuální ControllerContext hodnotu. 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()

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

Platí pro