msdn - 如何从我的 C# XML 文档注释链接到 MSDN/官方文档?

标签 msdn ndoc xml-documentation

给定一个类的 XML 注释,如下所示:

///<summary>Handles the AuthenticateRequest event in the ASP.NET page request lifecycle to authenticate users.</summary>
///<remarks>
///<para>This module will authenticate users based on cookies, form posts, or an impersonation request from the  admin system.</para>
///<para>If authentication succeeds, both the <see cref="System.Threading.Thread.CurrentPrincipal" /> and the <see cref="System.Web.HttpContext.User"/> property are set to an instance of <see cref="MyPrincipal"/> representing the authenticated user.</para>
///</remarks>

如何获得对 System.Threading.Thread.CurrentPrincipal 的引用和 System.Web.HttpContext.User链接到框架文档中的相应页面?

最佳答案

您可以使用 href标记链接到 MSDN(或任何其他来源)并执行如下操作:

... both the <see href="http://msdn.microsoft.com/en-us/library/system.threading.thread.currentprincipal.aspx">System.Threading.Thread.CurrentPrincipal</see>...

关于msdn - 如何从我的 C# XML 文档注释链接到 MSDN/官方文档?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6609532/

相关文章:

c++ - UrlToDownloadFile 函数无法下载

c# - 如何使用 C# Windows 应用程序读取 onedrive 文件夹

VB.NET:如何在 xml 文档中引用通用类和方法

asp.net-web-api - Swashbuckle + XmlComments 在本地工作,但在服务器上生成 swagger 失败

visual-studio-2008 - 如何在 Visual Studio 2008 中为 asp.net 网站生成 xml 文档?

c++ - 获取辅助监视器的友好名称

c++ - Direct2D : Unhandled Exception In WM_RESIZE switch case

.net - 代码文档: How much is too much?

c# - 使用 XML 注释记录 C# 代码的最佳实践是什么?