是否有Visual Studio扩展或加载项在类型,属性和其他目标上显示继承的自定义属性?
例如,如果有这样的基类:
[Serializable]
[SomeOtherAttribute]
[YeatAnotherAttribute]
class Person
{
[IsRequired]
[ShouldReturnNonNullNonEmptyString]
public virtual string LifesGoal { get; }
}
然后我想在子类化时看到继承的属性:
----------------------------------------------------
| some sort of box displaying inherited attributes |
----------------------------------------------------
[SomeNewAttribute]
class Student : Person
{
----------------------------------------------------
| some sort of box displaying inherited attributes |
----------------------------------------------------
public override string LifesGoal { get { return "To study"; } }
}