LaunchDarkly Dotnet Server SDK
Search Results for

    Show / Hide Table of Contents

    Interface FileDataTypes.IFileReader

    Interface for customizing how data files are read.

    Namespace: LaunchDarkly.Sdk.Server.Integrations
    Assembly: LaunchDarkly.ServerSdk.dll
    Syntax
    public interface FileDataTypes.IFileReader

    Methods

    | Edit this page View Source

    ReadAllText(string)

    Opens a text file, reads all lines of the file, and then closes the file.

    Declaration
    string ReadAllText(string path)
    Parameters
    Type Name Description
    string path

    The file to open for reading.

    Returns
    Type Description
    string

    A string containing all lines of the file.

    Exceptions
    Type Condition
    FileNotFoundException

    The file specified in path was not found.

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX