ControllerContextAttribute Sınıf

Tanım

Denetleyiciyi oluştururken denetleyici özelliğinin geçerli ControllerContext ile ayarlanması gerektiğini belirtir. Özelliğin ortak bir küme yöntemi olmalıdır.

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
Devralma
ControllerContextAttribute
Öznitelikler

Oluşturucular

Name Description
ControllerContextAttribute()

Denetleyiciyi oluştururken denetleyici özelliğinin geçerli ControllerContext ile ayarlanması gerektiğini belirtir. Özelliğin ortak bir küme yöntemi olmalıdır.

Şunlara uygulanır