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
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)>]
type ControllerAttribute = class
    inherit Attribute
Public Class ControllerAttribute
Inherits Attribute
Inheritance
ControllerAttribute
Derived
Attributes

Constructors

ControllerAttribute()

Applies to