C# 在XML文档中描述泛型的泛型

C# 在XML文档中描述泛型的泛型,c#,xml-documentation,xml-comments,C#,Xml Documentation,Xml Comments,在我的界面中,我有以下方法签名: ServiceResponse<IDictionary<int, string>> Dictionary(DictionaryRequest request); ServiceResponse字典(DictionaryRequest请求); 我正在尝试为该方法添加XML注释,如: /// <summary> /// Returns the dictionary of all codes with translati

在我的界面中,我有以下方法签名:

ServiceResponse<IDictionary<int, string>> Dictionary(DictionaryRequest request);
ServiceResponse字典(DictionaryRequest请求);
我正在尝试为该方法添加XML注释,如:

/// <summary>
///     Returns the dictionary of all codes with translations for the requested language.
/// </summary>
/// <param name="request">The <see cref="DictionaryRequest"/> containing the incoming parameters.</param>
/// <returns>An <see cref="ServiceResponse{IDictionary{TKey, TValue}}"/> containing codes and values of translations.</returns>
ServiceResponse<IDictionary<int, string>> Dictionary(DictionaryRequest request);
//
///返回所有代码的字典,其中包含所请求语言的翻译。
/// 
///包含传入参数的。
///包含翻译代码和翻译值的文档。
ServiceResponse字典(DictionaryRequest请求);
正确的方法是什么?我应该像这样指定类型吗

<see cref="ServiceResponse{IDictionary{int, string}}"/>

或者已经足够了

<see cref="ServiceResponse{T}"/>



请建议

VS在键入时是否提供建议?@ThomasWeller否,在我的情况下,第二个选项就足够了。VS只会推断出T是什么。
<see cref="T:ServiceResponse&lt;IDictionary&lt;int, string&gt;&gt;"/>