我有一个用 VB 编写的库。它具有以下枚举:
Public Enum ModelRelationshipTypes
<Description("For 1 to 0/1 -- i.e. FK is nullable. -- related object is singleton")> _
IHaveZeroOrOne
<Description("For 1 to 1 -- related object is singleton")> _
IHaveOne
<Description("For 0 to many (i.e. FK is nullable) - related object is collection (dictionary)")> _
IHaveZeroOrMore
<Description("For 1 to many (i.e. FK is NOT nullable) - related object is collection (dictionary)")> _
IHaveOneOrMore
<Description("For many to many (for true many too many relationships, with a join table that has only FKs as a composite PK) (related object is dictionary)")> _
IHaveMany
End Enum
但是,当在不同的项目中引用此库时(c# - 但可能无关紧要),对象浏览器不提供描述,如下所示:
我必须做什么才能显示描述?