C # XML-Kommentare - Erstellen Sie eine Liste
-
26-09-2019 - |
Frage
Ich versuche, eine Liste für meine XML-Kommentare in meiner C # Methode zu bauen.
Ich bin mit dem folgende Dokument jedoch die Liste Implementierung in dem nicht für mich arbeiten. Ich bin mit Visual Studio 2008 und .NET 3.5.
http://msdn.microsoft.com/en-us/magazine /cc302121.aspx
Wie erstelle ich eine Liste mit XML-Kommentaren in C #?
Hier ist mein aktueller XML-Code. Der para-Tag funktioniert gut, aber keine Liste erzeugt wird.
/// <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>
Lösung
Versuchen para-Tag in Ihrer Liste zu entfernen.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow