40 lines
879 B
C#
40 lines
879 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Reflection.Metadata;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace LightSetupBase
|
|
{
|
|
/// <summary>
|
|
/// 名称
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
|
|
public class Md5ConfigAttribute : Attribute
|
|
{
|
|
public Md5ConfigAttribute()
|
|
{
|
|
this.Name = String.Empty;
|
|
this.Comment = String.Empty;
|
|
}
|
|
|
|
public Md5ConfigAttribute(string name, string comment)
|
|
{
|
|
this.Name = name;
|
|
this.Comment = comment;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 属性名称
|
|
/// </summary>
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 属性说明
|
|
/// </summary>
|
|
public string Comment { get; set; }
|
|
|
|
}
|
|
}
|