• Api Documentation
  • Code Coverage
  • Source Code
Search Results for

    Show / Hide Table of Contents
    • JeremyAnsel.IO.DiscLocator
      • DiscFileLocatorFactory
    • JeremyAnsel.IO.Locator
      • FileLocatorFactory
      • IFileLocator
      • IWritableFileLocator
      • MemoryFileLocator
      • WritableFileLocatorFactory

    Interface IFileLocator

    The file locator interface.

    Inherited Members
    IDisposable.Dispose()
    Namespace: JeremyAnsel.IO.Locator
    Assembly: JeremyAnsel.IO.Locator.dll
    Syntax
    public interface IFileLocator : IDisposable

    Methods

    | Edit this page View Source

    EnumerateFiles()

    Enumerate the files.

    Declaration
    IEnumerable<string> EnumerateFiles()
    Returns
    Type Description
    IEnumerable<string>

    An enumeration.

    | Edit this page View Source

    EnumerateFiles(string)

    Enumerate the files.

    Declaration
    IEnumerable<string> EnumerateFiles(string root)
    Parameters
    Type Name Description
    string root

    The root path.

    Returns
    Type Description
    IEnumerable<string>

    An enumeration.

    | Edit this page View Source

    Exists(string)

    Indicates whether the specified path exists.

    Declaration
    bool Exists(string path)
    Parameters
    Type Name Description
    string path

    A path.

    Returns
    Type Description
    bool

    A boolean.

    | Edit this page View Source

    Open(string)

    Open a file.

    Declaration
    Stream Open(string path)
    Parameters
    Type Name Description
    string path

    A path.

    Returns
    Type Description
    Stream

    A stream.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright (c) 2015-2022 Jérémy Ansel