Class ViewModelAttribute
- Namespace
- System
- Assembly
- HeBianGu.Service.Mvc.dll
应用再Mvc中的特性,根据此特性查找ViewModel中的对应的名称
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class ViewModelAttribute : Attribute
- Inheritance
-
ViewModelAttribute
- Inherited Members
- Extension Methods
Constructors
ViewModelAttribute(string)
public ViewModelAttribute(string path)
Parameters
path
string
Properties
Name
public string Name { get; set; }