Esempio n. 1
0
 public string[] ReadAllLines()
 {
     ThrowIfNotInitialized();
     return(FSWrapper.ReadAllLines(this));
 }
Esempio n. 2
0
 public byte[] ReadAllBytes()
 {
     ThrowIfNotInitialized();
     return(FSWrapper.ReadAllBytes(this));
 }
Esempio n. 3
0
 public string ReadAllText(Encoding encoding)
 {
     ThrowIfNotInitialized();
     return(FSWrapper.ReadAllText(this, encoding));
 }
Esempio n. 4
0
 public string ReadAllText()
 {
     ThrowIfNotInitialized();
     return(FSWrapper.ReadAllText(this));
 }
Esempio n. 5
0
 public IEnumerable <NPath> Directories(string filter, bool recurse = false)
 {
     return(FSWrapper.GetDirectories(this, filter, recurse ? SearchOption.AllDirectories : SearchOption.TopDirectoryOnly).Select(s => new NPath(s)));
 }
Esempio n. 6
0
 public bool FileExists()
 {
     ThrowIfNotInitialized();
     return(FSWrapper.FileExists(this));
 }
Esempio n. 7
0
 public bool DirectoryExists()
 {
     ThrowIfNotInitialized();
     return(FSWrapper.DirectoryExists(this));
 }