cref 不在对象浏览器中创建链接

编程入门 行业动态 更新时间:2024-10-26 16:31:45
本文介绍了cref 不在对象浏览器中创建链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我在 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屋!

更多推荐

[db:关键词]

本文发布于:2023-04-27 11:01:17,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1154179.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:器中   对象   链接   cref

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!