Search Results for

    Show / Hide Table of Contents

    Method SetDefaultEnvFileName

    | Improve this Doc View Source

    SetDefaultEnvFileName(String)

    Sets the default name of an .env file.

    Declaration
    public IEnvLoader SetDefaultEnvFileName(string envFileName)
    Parameters
    Type Name Description
    String envFileName

    The default name to set.

    Returns
    Type Description
    IEnvLoader

    An instance implementing the fluent interface.

    Implements
    IEnvLoader.SetDefaultEnvFileName(String)
    Exceptions
    Type Condition
    ArgumentNullException

    envFileName is null.

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