ControllerAttribute ControllerAttribute ControllerAttribute ControllerAttribute Class

Definition

Indicates that the type and any derived types that this attribute is applied to are considered a controller by the default controller discovery mechanism, unless NonControllerAttribute is applied to any type in the hierarchy.

public ref class ControllerAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public class ControllerAttribute : Attribute
type ControllerAttribute = class
    inherit Attribute
Public Class ControllerAttribute
Inherits Attribute
Inheritance
ControllerAttributeControllerAttributeControllerAttributeControllerAttribute
Derived
Attributes

Constructors

ControllerAttribute() ControllerAttribute() ControllerAttribute() ControllerAttribute()

Applies to