3

C# メソッドで XML コメントのリストを作成しようとしています。

次のドキュメントを使用していますが、このリストの実装はうまくいきません。Visual Studio 2008 と .net 3.5 を使用しています。

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

C# で XML コメントを使用してリストを作成するにはどうすればよいですか?

これが私の現在の 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>
4

1 に答える 1

1

リスト内の para タグを削除してみてください。

于 2010-04-13T06:24:49.143 に答える