加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

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

发布时间:2020-12-16 05:54:43 所属栏目:百科 来源:网络整理
导读:给一个类的 XML注释这样的: ///summaryHandles the AuthenticateRequest event in the ASP.NET page request lifecycle to authenticate users./summary///remarks///paraThis module will authenticate users based on cookies,form posts,or an impersona
给一个类的 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>...

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读