ControllerContextAttribute Clase

Definición

Especifica que se debe establecer una propiedad de controlador con el actual ControllerContext al crear el controlador. La propiedad debe tener un método de conjunto público.

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
Herencia
ControllerContextAttribute
Atributos

Constructores

ControllerContextAttribute()

Especifica que se debe establecer una propiedad de controlador con el actual ControllerContext al crear el controlador. La propiedad debe tener un método de conjunto público.

Se aplica a