Search Results for

    Show / Hide Table of Contents

    Class LocalFileStreamProvider

    Inheritance
    object
    LocalFileStreamProvider
    Implements
    IFileStreamProvider
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Tenray.ZoneTree.AbstractFileStream
    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
    Type Name Description
    string path1
    string path2
    Returns
    Type Description
    string
    | 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
    Type Name Description
    string path
    FileMode mode
    FileAccess access
    FileShare share
    int bufferSize
    FileOptions options
    Returns
    Type Description
    IFileStream
    | Improve this Doc View Source

    DeleteDirectory(string, bool)

    Declaration
    public void DeleteDirectory(string path, bool recursive)
    Parameters
    Type Name Description
    string path
    bool recursive
    | 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
    Type Description
    bool
    | Improve this Doc View Source

    FileExists(string)

    Declaration
    public bool FileExists(string path)
    Parameters
    Type Name Description
    string path
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    GetDirectories(string)

    Declaration
    public IReadOnlyList<string> GetDirectories(string path)
    Parameters
    Type Name Description
    string path
    Returns
    Type Description
    IReadOnlyList<string>
    | Improve this Doc View Source

    GetDurableFileWriter()

    Declaration
    public DurableFileWriter GetDurableFileWriter()
    Returns
    Type Description
    DurableFileWriter
    | Improve this Doc View Source

    ReadAllBytes(string)

    Declaration
    public byte[] ReadAllBytes(string path)
    Parameters
    Type Name Description
    string path
    Returns
    Type Description
    byte[]
    | Improve this Doc View Source

    ReadAllText(string)

    Declaration
    public string ReadAllText(string path)
    Parameters
    Type Name Description
    string path
    Returns
    Type Description
    string
    | 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

    IFileStreamProvider
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2022 Tenray.io