【问题标题】:Configuring GhostDoc to comment public accessors only将 GhostDoc 配置为仅评论公共访问者
【发布时间】:2013-06-17 21:06:54
【问题描述】:

如何将 GhostDoc 配置为仅评论公共访问者?我查看了“规则”配置,但没有看到任何指示访问器类型的信息/变量。

【问题讨论】:

    标签: c# xml-comments ghostdoc


    【解决方案1】:
    if (Context.CurrentCodeElement.IsPrivate)
    {
        throw new ArgumentException();
    }
    

    来自http://community.submain.com/forums/thread/2993.aspx

    【讨论】:

      猜你喜欢
      • 2010-12-29
      • 1970-01-01
      • 1970-01-01
      • 2010-10-14
      • 1970-01-01
      • 1970-01-01
      • 2014-05-24
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多