using System;
namespace DeviceRepair.Utils.Config
{
///
/// 配置项特性
///
[AttributeUsage(AttributeTargets.Property, Inherited = false)]
public class ConfigAttribute : Attribute
{
///
/// 键值名称
///
private readonly string key;
///
/// 获取键值名称
///
public string Key
{
get { return key; }
}
///
/// Ctor
///
///
public ConfigAttribute(string key)
{
this.key = key;
}
}
}