Ejemplo n.º 1
0
 public static IEnumerable <string> EnumerateDirectories(string path, string searchPattern, EnumerationOptions enumerationOptions)
 => InternalEnumeratePaths(path, searchPattern, SearchTarget.Directories, enumerationOptions);
Ejemplo n.º 2
0
 public static IEnumerable <string> EnumerateFileSystemEntries(string path, string searchPattern, SearchOption searchOption)
 => EnumerateFileSystemEntries(path, searchPattern, EnumerationOptions.FromSearchOption(searchOption));
Ejemplo n.º 3
0
 public IEnumerable <FileSystemInfo> EnumerateFileSystemInfos(string searchPattern, EnumerationOptions enumerationOptions)
 => InternalEnumerateInfos(FullPath, searchPattern, SearchTarget.Both, enumerationOptions);
Ejemplo n.º 4
0
 public static string[] GetFileSystemEntries(string path, string searchPattern, EnumerationOptions enumerationOptions)
 => InternalEnumeratePaths(path, searchPattern, SearchTarget.Both, enumerationOptions).ToArray();
Ejemplo n.º 5
0
 internal FileSystemChangeEnumerator(PollingFileSystemWatcher watcher, string directory, EnumerationOptions options = null)
     : base(directory, options)
 {
     _watcher = watcher;
 }
Ejemplo n.º 6
0
 public IEnumerable <FileSystemInfo> EnumerateFileSystemInfos(string searchPattern, SearchOption searchOption)
 => EnumerateFileSystemInfos(searchPattern, EnumerationOptions.FromSearchOption(searchOption));
Ejemplo n.º 7
0
 public IEnumerable <DirectoryInfo> EnumerateDirectories(string searchPattern, SearchOption searchOption)
 => EnumerateDirectories(searchPattern, EnumerationOptions.FromSearchOption(searchOption));
Ejemplo n.º 8
0
 public static string[] GetDirectories(string path, string searchPattern, EnumerationOptions enumerationOptions)
 => InternalEnumeratePaths(path, searchPattern, SearchTarget.Directories, enumerationOptions).ToArray();
Ejemplo n.º 9
0
 public DirectoryInfo[] GetDirectories(string searchPattern, SearchOption searchOption)
 => GetDirectories(searchPattern, EnumerationOptions.FromSearchOption(searchOption));
Ejemplo n.º 10
0
 public DirectoryInfo[] GetDirectories(string searchPattern, EnumerationOptions enumerationOptions)
 => new List <DirectoryInfo>((IEnumerable <DirectoryInfo>)InternalEnumerateInfos(FullPath, searchPattern, SearchTarget.Directories, enumerationOptions)).ToArray();
Ejemplo n.º 11
0
 public FileSystemInfo[] GetFileSystemInfos(string searchPattern, EnumerationOptions enumerationOptions)
 => new List <FileSystemInfo>(InternalEnumerateInfos(FullPath, searchPattern, SearchTarget.Both, enumerationOptions)).ToArray();
Ejemplo n.º 12
0
 public FileSystemInfo[] GetFileSystemInfos(string searchPattern, SearchOption searchOption)
 => GetFileSystemInfos(searchPattern, EnumerationOptions.FromSearchOption(searchOption));
Ejemplo n.º 13
0
 public FileInfo[] GetFiles(string searchPattern, EnumerationOptions enumerationOptions)
 => new List <FileInfo>((IEnumerable <FileInfo>)InternalEnumerateInfos(FullPath, searchPattern, SearchTarget.Files, enumerationOptions)).ToArray();
Ejemplo n.º 14
0
 public static IEnumerable <string> EnumerateFileSystemEntries(string path, string searchPattern, EnumerationOptions enumerationOptions)
 => InternalEnumeratePaths(path, searchPattern, SearchTarget.Both, enumerationOptions);
Ejemplo n.º 15
0
 public IEnumerable <DirectoryInfo> EnumerateDirectories(string searchPattern, EnumerationOptions enumerationOptions)
 => (IEnumerable <DirectoryInfo>)InternalEnumerateInfos(FullPath, searchPattern, SearchTarget.Directories, enumerationOptions);
Ejemplo n.º 16
0
 public static string[] GetDirectories(string path, string searchPattern, SearchOption searchOption)
 => GetDirectories(path, searchPattern, EnumerationOptions.FromSearchOption(searchOption));
Ejemplo n.º 17
0
 public IEnumerable <FileInfo> EnumerateFiles(string searchPattern, EnumerationOptions enumerationOptions)
 => (IEnumerable <FileInfo>)InternalEnumerateInfos(FullPath, searchPattern, SearchTarget.Files, enumerationOptions);
Ejemplo n.º 18
0
 public static string[] GetFileSystemEntries(string path, string searchPattern, SearchOption searchOption)
 => GetFileSystemEntries(path, searchPattern, EnumerationOptions.FromSearchOption(searchOption));
Ejemplo n.º 19
0
 public static string[] GetFiles(string path, string searchPattern, EnumerationOptions enumerationOptions)
 => new List <string>(InternalEnumeratePaths(path, searchPattern, SearchTarget.Files, enumerationOptions)).ToArray();