用list作为参数的方法的XML文档注释

时间:2016-11-07 20:32:36

标签: c# c++ managed-c++ sandcastle xml-documentation

我正在编写一个托管C ++方法的XML文档,该方法使用Sandcastle文档构建器接受List作为参数。

我看到错误[缺少" [M:namespace.Import(System.Collections.Generic.List {System.Security.Cryptography.X509Certificates.X509Certificate2})]"在HTML输出中。我看到使用这种方法的类似错误。

以下是示例代码 -

/// <summary>
/// Stores the certificates securely.
/// </summary>
/// <remarks>
/// Consumers can securely store their X.509 digital certificates using <see cref="Import"/> method.
/// </remarks>
public ref CertificateVault {

    /// <summary>
    /// Imports the certificates into the vault.
    /// </summary>
    /// <remarks>
    /// Some method remarks.
    /// </remarks>
    /// <param name="certs">Certificates to import</param>
    void Import(List<X509Certificate^>^ certs);
}

我尝试了以下组合,但没有一种能够奏效。

/// <see cref="Import(List{T})" />
/// <see cref="Import(List&lt;X509Certificate2>)" />
/// <see cref="Import(List&lt;X509Certificate2^>)" />
/// <see cref="Import(List&lt;X509Certificate2^>^)" />
/// <see cref="Import(System.Collections.Generic.List`1{System.Security.Cryptography.X509Certificates.X509Certificate2})" />
/// <see cref="Import(List&lt;X509Certificate2&gt;)" />
/// <see cref="Import(List&lt;X509Certificate2^&gt;)" />
/// <see cref="Import(List&lt;X509Certificate2^&gt^;)" />
/// <see cref="Import(List`{X509Certificate2}`)"/>
/// <see cref="Import(List&lt;X509Certificate2^&gt;)" />
/// <see cref="Import(List&lt;X509Certificate2^&gt^;)" />
/// <see cref="Import(List`{X509Certificate2}`)"/>

我在这里缺少什么?

0 个答案:

没有答案