C# xml تعليقات - بناء قائمة
-
26-09-2019 - |
سؤال
أحاول إنشاء قائمة لتعليقات XML الخاصة بي على طريقة C#.
أنا أستخدم المستند التالي ، ولكن تطبيق القائمة في هذا لا يعمل بالنسبة لي. أنا أستخدم Visual Studio 2008 و .NET 3.5.
http://msdn.microsoft.com/en-us/magazine/cc302121.aspx
كيف يمكنني بناء قائمة باستخدام تعليقات XML في C#؟
هنا هو رمز XML الحالي الخاص بي. تعمل علامة الفقرة بشكل جيد ، ولكن لا يتم إنشاء قائمة.
/// <summary>
/// Populates an entity from the database.
/// <para />
/// <list type="table">
/// <listheader>
/// <term>This method contains assumptions in the implementation of the entity:</term>
/// </listheader>
/// <item><term>Given the entity name [name]Entity (eg. [User]Entity is User), there is an
/// appropriate stored procedure created: dbo.sp[name]View (eg. dbo.spUserView).
/// <para />
/// The structure of the stored procedure must adhere to design principles to correctly
/// load the data into the objects.
/// <para />
/// See documentation on implementation of stored procedures if you are unsure of any details.
/// </term>
/// </item>
/// </list>
/// </summary>
/// <param name="entity"></param>
المحلول
حاول إزالة علامة الفقرة داخل قائمتك.
لا تنتمي إلى StackOverflow