EyeAuras Docs EyeAuras Docs
EyeAuras Docs EyeAuras Docs
DocFX + Singulink = ♥

Search Results for

    Method ReadAllText

    ReadAllText(IFileProvider, string)

    Reads all text from a file in the specified file provider.

    Declaration
    public static string ReadAllText(this IFileProvider fileProvider, string path)
    Parameters
    Type Name Description
    IFileProvider fileProvider

    The file provider to query.

    string path

    The path to the file within the file provider.

    Returns
    Type Description
    string

    A string containing the text content of the file.

    Exceptions
    Type Condition
    FileNotFoundException

    Thrown when the specified file cannot be found.

    IOException

    Thrown if an I/O error occurs during the read operation.

    2025 © Xab3r. All rights reserved.