添加项目文件。
This commit is contained in:
23
WaterCloud.Code/Attribute/ServiceDescriptionAttribute.cs
Normal file
23
WaterCloud.Code/Attribute/ServiceDescriptionAttribute.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
|
||||
namespace WaterCloud.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