Beispiel #1
0
 public string[] ReadAllLines()
 {
     ThrowIfNotInitialized();
     return(FSWrapper.ReadAllLines(this));
 }
Beispiel #2
0
 public byte[] ReadAllBytes()
 {
     ThrowIfNotInitialized();
     return(FSWrapper.ReadAllBytes(this));
 }
Beispiel #3
0
 public string ReadAllText(Encoding encoding)
 {
     ThrowIfNotInitialized();
     return(FSWrapper.ReadAllText(this, encoding));
 }
Beispiel #4
0
 public string ReadAllText()
 {
     ThrowIfNotInitialized();
     return(FSWrapper.ReadAllText(this));
 }
Beispiel #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)));
 }
Beispiel #6
0
 public bool FileExists()
 {
     ThrowIfNotInitialized();
     return(FSWrapper.FileExists(this));
 }
Beispiel #7
0
 public bool DirectoryExists()
 {
     ThrowIfNotInitialized();
     return(FSWrapper.DirectoryExists(this));
 }