热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

cref不会在对象浏览器中创建链接-crefdoesn'tcreatelinkinObjectBrowser

IhavethefollowingcodeinC#2010ClassLibrary:我在C#2010类库中有以下代码:<summary>Execu

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

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

/// 
/// 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  function to stop this function from another thread.
/// 
/// 
public static void SiX_Dg_Execute()
{
}

public static void SiX_Dg_RequestStop()
{
}

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

当我在Visual C#Express对象浏览器中打开此库时,XML注释以这种方式显示:

Object Broser

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

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

1 个解决方案

#1


1  

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.

我认为visual studio的对象浏览器没有实现这种链接。查看方法“System._AppDomain.ExecuteAssembly”msdn的在线文档,了解您需要的示例,然后查看对象浏览器。在第一个中有一个链接,但在第二个中没有链接。


推荐阅读
author-avatar
后起之秀
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有