Search Results for

    Show / Hide Table of Contents

    Method SetBasePath

    | Improve this Doc View Source

    SetBasePath(String)

    Sets the base path for the .env files.

    Declaration
    public IEnvLoader SetBasePath(string basePath)
    Parameters
    Type Name Description
    String basePath

    The base path to set.

    Returns
    Type Description
    IEnvLoader

    An instance implementing the fluent interface.

    Implements
    IEnvLoader.SetBasePath(String)
    Exceptions
    Type Condition
    ArgumentNullException

    basePath is null.

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