2011-07-07 18 views
10

इस तरह एक वर्ग कुछ पर एक 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 के लिए संदर्भ मिल सकता है?

+0

क्या सॉफ्टवेयर आप वास्तविक सहायता पृष्ठों में अपने XML प्रलेखन पर कार्रवाई करने के प्रयोग कर रहे हैं? –

+0

डॉकू - https://github.com/jagregory/docu –

उत्तर

1

this यूआरएल, MSDN यूआरएल cheatsheet के आधार पर

और इन दो प्रयोगों बातें cheatsheet से सीखा लागू करने

लिंक 1.1 frameworkclass के संस्करण

System.Threading.Thread.CurrentPrincipal

लिंक 4.0 करने के लिए फ्रेमवर्कक्लास का संस्करण

System.Threading.Thread.CurrentPrincipal

+0

दुख की बात यह है कि यह केवल गैर-सामान्य प्रकार के लिए काम करता प्रतीत होता है। जेनेरिक प्रकारों में एक उलझन वाली आईडी होती है। – Joey

2

आप MSDN (या उस बात के लिए किसी अन्य स्रोत) से लिंक और इस तरह कुछ करने के लिए href टैग का उपयोग कर सकते हैं:

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