[AttributeUsage(AttributeTargets.Field)]
public class
ConfigurableAttribute : Attribute
{
public
ConfigurableAttribute()
{
}
}
[AttributeUsage(AttributeTargets.Field
| AttributeTargets.Class, AllowMultiple=true)]
public class
ConfigurablePropertyAttribute : Attribute
{
string
_propertyName;
public
string PropertyName
{
get{return
_propertyName;}
}
protected
ConfigurablePropertyAttribute()
{
}
public
ConfigurablePropertyAttribute(string name)
{
_propertyName=name;
}
}