采用看到以&lt CREF; >在XML文档的字符?字符、文档、CREF、lt

2023-09-04 08:35:47 作者:21.征服我,你OK么

可能重复:   How引用泛型类和方法在XML文档

我一直在使用的看到CREF的标签,它的伟大工程,但现在我需要包括的String []在看到CREF一个通用的列表,但文档不正确呈现。

  ///<返回>在<见CREF =名单,其中,字符串[]>中/>那 .......
 

我presume的事做的<和>也许[]

这是允许的,是有一个变通?

解决方案

  ///<返回> A<见CREF =列表【T】/>这与LT; /回报>
 

不可思议 REPT函数居然还有这么有趣的玩法

Possible Duplicate: How to reference generic classes and methods in xml documentation

i have been using the see cref tag and it works great but now i need to include a generic list of string[] in the see cref but the documentation doesn't correctly render.

    /// <returns>A <see cref="List<string[]>" /> that .......

I presume its something to do with the < and > and maybe []

Is this allowed, is there a work around?

解决方案

/// <returns>A <see cref="List{T}" /> that</returns>

 
精彩推荐
图片推荐