XML 文档仅缺少一个 属性

XML documentation missing only single property

我在 API 项目中完成了 xml 文档并提供了 public 属性的摘要(如 <summary> </summary> 标签) 但问题是它没有显示 class 中只有一个 属性 的文档,public 也是如此。

/// <summary>
    /// Tag opertaor has 2 options. AND &OR They both work as simple arithmetic operators. Default value : OR
    /// </summary>
    public string tagsOperator { set; get; }
    /// <summary>
    /// Group name is nullable. It is used as a filter.
    /// </summary>
    public string groupName { get; set; }

这里显示 "Group name is nullable. It is used as a filter." 写在 groupname 的描述中,但它没有显示 "Tag opertaor has 2 options. AND &OR They both work as simple arithmetic operators. Default value : OR" 在 tagsoperator 的描述中...... 知道为什么会这样吗?我错过了什么:(

您必须对特殊字符进行编码。您的 & 符号需要替换为

&amp;

你可以找到here