【发布时间】:2016-04-17 08:15:45
【问题描述】:
我有一个界面如下:
public interface IBaseRepository<T> where T : class
{
...
}
更新:
我的大多数实体都会实现这个接口。我在为 s.th 添加 xml 文档时感到困惑。如下(在界面中):
/// <summary>
/// This method returns All What??????
/// </summary>
/// <returns> <see cref= "OutputWithPaging{T}"/> </returns>
OutputWithPaging<T> GetAll();
哪个 Test 实现了 IBaseRepository。如您所见,我可以看到 City 作为评论的一部分,但不是摘要部分。
/// <summary>
/// This method returns All objects of type <see cref="T"/>.
/// </summary>
/// <returns><see cref= "OutputWithPaging{T}"/></returns>
【问题讨论】:
标签: c# xml generics interface documentation