给定一个类的 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/