我在 C# 2010 类库中有以下代码:
/// <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 注释以这种方式显示:
exception cref
产生有效的链接,但是see cref
显示为纯文本,并添加了完整的命名空间。我怎样才能使这个链接有效?
我认为 Visual Studio 的对象资源管理器没有实现这种链接。查看方法“System._AppDomain.ExecuteAssembly”的在线文档msdn http://msdn.microsoft.com/es-es/library/system.attribute%28v=vs.110%29.aspx有关您需要的示例,请查看对象浏览器。第一个有链接,但第二个没有链接。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)