我想在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)
{
}