Вопрос

Я пытаюсь построить список для моих XML комментариев на моем методе C #.

Я использую следующий документ, однако реализация списка в этом не работает для меня. Я использую Visual Studio 2008 и .NET 3.5.

http://msdn.microsoft.com/en-us/magazine/cc302121.aspx.

Как создать список, используя XML комментариев в C #?

Вот мой текущий код XML. Мега PARA отлично работает, однако список не генерируется.

   /// <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>
Это было полезно?

Решение

Попробуйте удалить меток PARA в вашем списке.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top