![]() |
От: | nikda | |
Дата: | 10.06.14 12:48 | ||
Оценка: |
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, Inherited = true)]
public class MyAttr : Attribute
{
public Name {get;set;}
}
[MyAttr("aaa")]
public interface IMyInterface
{
}
public class MyClass : IMyInterface
{
}