2011-07-07 28 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への参照を取得できますか? this URLに基​​づいて

+0

どのようなソフトウェアあなたが本当のヘルプページにあなたのXML文書を処理するために使用していますか? –

+0

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

答えて

1

、MSDNのURLチートシート

、物事を適用し、これらの二つの実験は、4.0にframeworkclass

System.Threading.Thread.CurrentPrincipal

リンクの1.1バージョンにチートシート

リンクから学びましたフレームワーククラスのバージョン

System.Threading.Thread.CurrentPrincipal

+0

悲しいことに、これは非ジェネリックタイプの場合にのみ有効です。一般的なタイプにはIDが変更されています。 – Joey

2

あなたはhref MSDNにリンクするタグ(またはそのことについては、他のソース)を使用し、このような何かを行うことができます。

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