How do I document a c# dll

前端 未结 4 1821
感动是毒
感动是毒 2021-01-18 02:08

How do I write a class so that property and method descriptions are visible to people referencing the dll in other projects?

    [Description(\"My age in yea         


        
4条回答
  •  孤街浪徒
    2021-01-18 02:17

    The description provided in DescriptionAttribute is visible in Property Grid for sure and it has nothing to do with code editor.

    For XML comments to be available, you have to generate an XML documentation file and ship it with your assembly.

提交回复
热议问题