cref 不在对象浏览器中创建链接 [英] cref doesn't create link in Object Browser

查看:22
本文介绍了cref 不在对象浏览器中创建链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 C# 2010 类库中有以下代码:

I have the following code in C# 2010 Class Library:

/// <summary>
/// Execute all enable tests synchronously.
/// Function may throw exception if executed in invalid state (for example, all tests are disabled).
/// If function doesn't throw exception, this doesn't mean, that all tests succeeded. After function 
/// finished, it is necessary to check the state of all tests.
/// Function is synchronous and may take a long time to execute.
/// Use <see cref="SiX_Dg_RequestStop"/> function to stop this function from another thread.
/// </summary>
/// <exception cref="AtpException"></exception>
public static void SiX_Dg_Execute()
{
}

public static void SiX_Dg_RequestStop()
{
}

当我在 Visual C# Express 对象浏览器中打开这个库时,XML 注释是这样显示的:

When I open this library in Visual C# Express Object Browser, XML comment is shown by this way:

exception cref 生成有效链接,但 see cref 显示为纯文本,并添加了完整的命名空间.如何使此链接正常工作?

exception cref produces valid link, but see cref is shown as plain text, with full namespace added. How can I make this link working?

推荐答案

我认为 Visual Studio 的对象资源管理器没有实现那种链接.查看方法System._AppDomain.ExecuteAssembly"的在线文档msdn 是您需要的示例,然后查看对象浏览器.第一个有链接,第二个没有链接.

I think the object explorer of visual studio does not implement that kind of link. Look at the online documentation of the method "System._AppDomain.ExecuteAssembly" msdn for an example of what you need, then look at the object browser. In the first one there is a link but in the second there is no link.

这篇关于cref 不在对象浏览器中创建链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆