添加项目文件。
This commit is contained in:
23
HT.Cloud.Code/Attribute/ServiceDescriptionAttribute.cs
Normal file
23
HT.Cloud.Code/Attribute/ServiceDescriptionAttribute.cs
Normal file
@ -0,0 +1,23 @@
|
||||
using System;
|
||||
|
||||
namespace HT.Cloud.Code
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class, Inherited = true)]
|
||||
public class ServiceDescriptionAttribute : Attribute
|
||||
{
|
||||
public string ClassDescription
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
private ServiceDescriptionAttribute()
|
||||
{
|
||||
}
|
||||
|
||||
public ServiceDescriptionAttribute(string classDescription)
|
||||
{
|
||||
ClassDescription = classDescription;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user