【问题标题】:Is it possible to include custom attributes in Sandcastle documentation?是否可以在 Sandcastle 文档中包含自定义属性?
【发布时间】:2013-09-03 07:37:00
【问题描述】:

是否可以在 Sandcastle 文档中包含自定义属性?

例如,考虑这个 c# 方法:

public void ExampleMethod
(
   [Required] string input1,
   [DefaultValue("example")] string input2
)

有没有办法让 Sandcastle 文档输出 input1 具有所需的属性?

【问题讨论】:

    标签: c# sandcastle


    【解决方案1】:

    这适用于属性和类,我还没有在属性和字段上尝试过。描述表明它应该可以工作。

    可能还需要开启“内部成员”。

    不幸的是,文档中的属性没有链接。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2017-12-10
      • 2011-08-04
      • 2011-06-08
      • 1970-01-01
      • 2010-11-20
      • 1970-01-01
      相关资源
      最近更新 更多