OCISDK/OCISDK/ObjectStorage/IO/ObjectStorageDirectoryInfo.cs
/// <summary>
/// Enumerate the files of this directory.
/// </summary>
/// <param name="searchPattern"></param>
/// <param name="searchOption"></param>
/// <returns></returns>
Enumerate the files of this directory.
Enumerate the files of this directory .
public IEnumerable<IObjectStorageFileSystemInfo> EnumerateFileSystemInfos(string searchPattern, SearchOption searchOption)
        {
            IEnumerable<IObjectStorageFileSystemInfo> files = EnumerateFiles(searchPattern, searchOption).Cast<IObjectStorageFileSystemInfo>();
            IEnumerable<IObjectStorageFileSystemInfo> folders = EnumerateDirectories(searchPattern, searchOption).Cast<IObjectStorageFileSystemInfo>();
            return files.Concat(folders);
        }
public IEnumerable < IObjectStorageFileSystemInfo > EnumerateFileSystemInfos ( string searchPattern , SearchOption searchOption ) { IEnumerable < IObjectStorageFileSystemInfo > files = EnumerateFiles ( searchPattern , searchOption ) . Cast < IObjectStorageFileSystemInfo > ( ) ; IEnumerable < IObjectStorageFileSystemInfo > folders = EnumerateDirectories ( searchPattern , searchOption ) . Cast < IObjectStorageFileSystemInfo > ( ) ; return files . Concat ( folders ) ; }
Enumerate the files of this directory.
Enumerate the files of this directory .
None
searchPattern
string
None
searchOption
SearchOption
None