Beispiel #1
0
 public IEnumerable <string> EnumerateFileSystemEntries(string path, string searchPattern, SearchOption searchOption)
 {
     return(ManagedFileSystem.Singleton().EnumerateFileSystemEntries(path, searchPattern, searchOption));
 }
Beispiel #2
0
 public string ReadFileAllText(string path)
 {
     return(ManagedFileSystem.Singleton().ReadFileAllText(path));
 }
Beispiel #3
0
 public byte[] ReadFileAllBytes(string path)
 {
     return(ManagedFileSystem.Singleton().ReadFileAllBytes(path));
 }
Beispiel #4
0
 public Stream GetFileStream(string path, FileMode mode, FileAccess access, FileShare share)
 {
     return(ManagedFileSystem.Singleton().GetFileStream(path, mode, access, share));
 }
Beispiel #5
0
 public TextReader ReadFile(string path)
 {
     return(ManagedFileSystem.Singleton().ReadFile(path));
 }
Beispiel #6
0
 public DateTime GetLastWriteTimeUtc(string path)
 {
     return(ManagedFileSystem.Singleton().GetLastWriteTimeUtc(path));
 }
Beispiel #7
0
 public FileAttributes GetAttributes(string path)
 {
     return(ManagedFileSystem.Singleton().GetAttributes(path));
 }
Beispiel #8
0
 private static IFileSystem GetFileSystem()
 {
     return(ManagedFileSystem.Singleton());
 }