Question

Je suis en train de construire une liste pour mes commentaires XML sur ma méthode C #.

J'utilise le document suivant, mais la mise en œuvre de la liste dans cela ne fonctionne pas pour moi. J'utilise Visual Studio 2008 et .NET 3.5.

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

Comment puis-je créer une liste à l'aide des commentaires XML en C #?

Voici mon code XML en cours. La balise para fonctionne très bien, mais aucune liste est générée.

   /// <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>
Était-ce utile?

La solution

Essayez de supprimer balise para dans votre liste.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top