Search Results for

    Show / Hide Table of Contents

    Constructor EnvReader

    | Improve this Doc View Source

    EnvReader()

    Initializes a new instance of the EnvReader class.

    Declaration
    public EnvReader()
    | Improve this Doc View Source

    EnvReader(IEnvironmentVariablesProvider)

    Initializes a new instance of the EnvReader class with environment variables provider.

    Declaration
    public EnvReader(IEnvironmentVariablesProvider provider)
    Parameters
    Type Name Description
    IEnvironmentVariablesProvider provider

    The environment variables provider.

    Exceptions
    Type Condition
    ArgumentNullException

    provider is null.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright ©2021 DotEnv.Core