using System; namespace XP.Scan.Attributes { /// /// 标记 INI Key 名称(可选,默认使用属性名)| Marks the INI key name (optional, defaults to property name) /// [AttributeUsage(AttributeTargets.Property)] public class IniKeyAttribute : Attribute { public string KeyName { get; } public IniKeyAttribute(string keyName) { KeyName = keyName; } } }