標題幾乎說明了一切。我在哪裏申請我的XML評論?我是否應該在界面中放置更通用的XML註釋,並在實現類中加入更具描述性的註釋?像這樣: public interface IObjectRepository
{
/// <summary>
/// Returns an object from the respository that contains the specified
可能重複: How to reference generic classes and methods in xml documentation 我一直在使用的看到CREF標籤和它的偉大工程,但現在我需要包括的String []在看到CREF一個通用的清單,但該文檔無法正確呈現。 /// <returns>A <see cref="List<string[]>" /> that .......
我有以下的,我不知道如何正確地在我的XML引用此評論: public static class FooExtensions
{
public static Nullable<T> FooX<T>(this Nullable<T> foo) { ... }
}
public class Bar
{
/// <summary>
/// Bar Function