Table of Contents

Class ControllerAttribute

Namespace
System
Assembly
HeBianGu.Service.Mvc.dll

应用再Mvc模式中的特性,根据此特性匹配对应的Controller名称

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class ControllerAttribute : Attribute
Inheritance
ControllerAttribute
Inherited Members
Extension Methods

Constructors

ControllerAttribute(string)

public ControllerAttribute(string name)

Parameters

name string

Properties

DisplayName

public string DisplayName { get; set; }

Property Value

string
public string Logo { get; set; }

Property Value

string

Name

public string Name { get; set; }

Property Value

string

Order

public int Order { get; set; }

Property Value

int