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