Search Results for

    Show / Hide Table of Contents

    Method SetEnvironmentVariablesProvider

    | Improve this Doc View Source

    SetEnvironmentVariablesProvider(IEnvironmentVariablesProvider)

    Sets the environment variables provider. When this method is used, the environment variables are obtained from the custom provider.

    Declaration
    IEnvParser SetEnvironmentVariablesProvider(IEnvironmentVariablesProvider provider)
    Parameters
    Type Name Description
    IEnvironmentVariablesProvider provider

    The custom environment variables provider.

    Returns
    Type Description
    IEnvParser

    An instance implementing the fluent interface.

    Exceptions
    Type Condition
    ArgumentNullException

    provider is null.

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