我有以下内容,但我不确定如何在我的 XML 评论中正确引用它:
public static class FooExtensions
{
public static Nullable<T> FooX<T>(this Nullable<T> foo) { ... }
}
public class Bar
{
/// <summary>
/// Bar Function
/// </summary>
/// <seealso cref="??"/>
public void BarFunc() { ... }
}
所以,我的猜测是<seealso cref="M:MyNamespace.FooExtensions.FooX{T}(this Nullable{T} foo)"/>
,但如果这是正确的,我不是 100%。有人知道吗?
哦,我有 ECMA PDF 文档,但即便如此,我仍然无法真正弄清楚。