XML-documentation for a namespace

前端 未结 7 1171
自闭症患者
自闭症患者 2020-12-14 05:21

Would you write xml-doc for a namespace? And if yes, how and where?

I would think, if it is possible, maybe an almost empty file like this:

/// 

        
7条回答
  •  無奈伤痛
    2020-12-14 06:12

    You can do it in doxygen using:

    /// 
    /// description
    /// 
    namespace name{};
    

    Also, it's a good practice to declare your namespaces in a NameSpaces.cs file, and comment them only in this file.

提交回复
热议问题