Class LocalFileStreamProvider
Inheritance
LocalFileStreamProvider
Assembly: ZoneTree.dll
Syntax
public sealed class LocalFileStreamProvider : IFileStreamProvider
Methods
|
Improve this Doc
View Source
CombinePaths(string, string)
Declaration
public string CombinePaths(string path1, string path2)
Parameters
Returns
|
Improve this Doc
View Source
CreateDirectory(string)
Declaration
public void CreateDirectory(string path)
Parameters
Type |
Name |
Description |
string |
path |
|
|
Improve this Doc
View Source
CreateFileStream(string, FileMode, FileAccess, FileShare, int, FileOptions)
Declaration
public IFileStream CreateFileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize = 4096, FileOptions options = FileOptions.None)
Parameters
Returns
|
Improve this Doc
View Source
DeleteDirectory(string, bool)
Declaration
public void DeleteDirectory(string path, bool recursive)
Parameters
|
Improve this Doc
View Source
DeleteFile(string)
Declaration
public void DeleteFile(string path)
Parameters
Type |
Name |
Description |
string |
path |
|
|
Improve this Doc
View Source
DirectoryExists(string)
Declaration
public bool DirectoryExists(string path)
Parameters
Type |
Name |
Description |
string |
path |
|
Returns
|
Improve this Doc
View Source
FileExists(string)
Declaration
public bool FileExists(string path)
Parameters
Type |
Name |
Description |
string |
path |
|
Returns
|
Improve this Doc
View Source
GetDirectories(string)
Declaration
public IReadOnlyList<string> GetDirectories(string path)
Parameters
Type |
Name |
Description |
string |
path |
|
Returns
|
Improve this Doc
View Source
GetDurableFileWriter()
Declaration
public DurableFileWriter GetDurableFileWriter()
Returns
|
Improve this Doc
View Source
ReadAllBytes(string)
Declaration
public byte[] ReadAllBytes(string path)
Parameters
Type |
Name |
Description |
string |
path |
|
Returns
|
Improve this Doc
View Source
ReadAllText(string)
Declaration
public string ReadAllText(string path)
Parameters
Type |
Name |
Description |
string |
path |
|
Returns
|
Improve this Doc
View Source
Replace(string, string, string)
Declaration
public void Replace(string sourceFileName, string destinationFileName, string destinationBackupFileName)
Parameters
Type |
Name |
Description |
string |
sourceFileName |
|
string |
destinationFileName |
|
string |
destinationBackupFileName |
|
Implements