类型为T的返回集合的XML注释

时间:2014-06-02 13:52:40

标签: c# xml-comments generic-collections

我想在XML注释中指定方法返回IEnumerable<FileInfo>的集合。

XML标记<returns/>的格式是什么。

/// <summary>
/// Extensions methods for class <see cref="System.IO.DirectoryInfo"/>
/// </summary>
public static class DirectoryInfoExtension
{
    /// <summary>
    /// Load files from folder
    /// </summary>
    /// <param name="dir">Folder</param>
    /// <param name="searchOption">search options</param>
    /// <param name="extensions">types of files</param>
    /// <returns>Collection of <see cref="IEnumerable{FileInfo}"/></returns>
    public static IEnumerable<FileInfo> ByExtensions(this DirectoryInfo dir,
        SearchOption searchOption, params string[] extensions)
    {
    }

0 个答案:

没有答案