VB.NET 文档注释工具名称

发布于 2024-09-06 16:51:00 字数 918 浏览 2 评论 0原文

允许 VB.NET 代码嵌入可由该工具提取的文档注释(对应于 C# 文档注释)的工具的名称是什么?

我正在查看一些旧代码; Visual Studio 2005时代。一个简单的例子是:

'Form overrides dispose to clean up the component list.
'''  <summary>
'''  Summary of Dispose.
'''  </summary>
'''  <param name="disposing"></param>
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
    If disposing Then                                                
        If Not (components Is Nothing) Then                          
            components.Dispose()                                     
        End If                                                       
    End If                                                           
    MyBase.Dispose(disposing)                                        
End Sub                                                              

有一个第三方免费(开源?)文档生成器工具集成到 Visual Studio 菜单中。

What is the name of the tool that allowed VB.NET code to have embedded documentation comments (corresponding to C# documentation comments) that could be extracted by this tool?

I am going through some old code; Visual Studio 2005 era. A trivial example is:

'Form overrides dispose to clean up the component list.
'''  <summary>
'''  Summary of Dispose.
'''  </summary>
'''  <param name="disposing"></param>
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
    If disposing Then                                                
        If Not (components Is Nothing) Then                          
            components.Dispose()                                     
        End If                                                       
    End If                                                           
    MyBase.Dispose(disposing)                                        
End Sub                                                              

There was a 3rd party free (open source?) documentation generator tool that integrated into the Visual Studio menus.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

姜生凉生 2024-09-13 16:51:00

开发人员还习惯使用 nDoc。这可能是您的项目中使用的。它是免费的,而不是微软的。它不再被使用,因为它不再被维护。而且它更面向C#。但至少有一个 VB 辅助工具。这些可能不是您现在想要使用的,但它们可能对应于遗留代码中嵌入的注释的语法。

Microsoft 还有另一个开源工具,名为 VBCommenter

Developers also used to use nDoc. That might be what was used on your project. It's free and not Microsoft. It isn't used as much any more, as it isn't being maintained. And it's more oriented to C#. But there's at least one VB helper tool. These may not be what you'd want to use now, but they might correspond to the syntax of the comments embedded in your legacy code.

And there's another open source tool from Microsoft called VBCommenter.

腻橙味 2024-09-13 16:51:00

Sandcastle - 不确定它是否包含 VS 插件,但快速 Google 搜索会发现一些工具,例如 < a href="http://docproject.codeplex.com/" rel="nofollow noreferrer">DocProject 来集成它。

Sandcastle - Not sure if it includes a VS plugin, but a quick Google search turns up a few tools like DocProject to integrate it.

花开半夏魅人心 2024-09-13 16:51:00

我找到了。它是 VBXMLDoc,后来重命名为 VBXC。它自 2006 年以来就没有更新过。它是免费软件(非开源),1.0 版应该是商业软件(或共享软件)。但最后一个版本是 beta 3,仍然免费。仍然可以下载 beta 3。向代码添加 XML 注释

I found it. It was VBXMLDoc, later renamed to VBXC. It has not been updated since 2006. It was freeware (not open source) and version 1.0 was supposed to be commercial (or shareware). But the last version was beta 3, still free. It is still possible to download beta 3. Adding XML comments to the code.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文