2011-07-07 100 views
10

鑑於一類像這樣的XML註釋:如何從我的C#XML文檔註釋鏈接到MSDN /官方文檔?

///<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.CurrentPrincipalSystem.Web.HttpContext.User引用鏈接到框架文件中的相應頁面?

+0

什麼是您使用來處理XML文檔轉化爲現實的幫助頁面的軟件嗎? –

+0

Docu - https://github.com/jagregory/docu –

回答

2

您可以使用href標籤鏈接到MSDN(或任何其他來源爲此事),做這樣的事情:

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