Search Results for

    Show / Hide Table of Contents

    Method SetEnvironmentName

    | Improve this Doc View Source

    SetEnvironmentName(String)

    Sets the name of the environment.

    Declaration
    public IEnvLoader SetEnvironmentName(string envName)
    Parameters
    Type Name Description
    String envName

    The name of the environment.

    Returns
    Type Description
    IEnvLoader

    An instance implementing the fluent interface.

    Implements
    IEnvLoader.SetEnvironmentName(String)
    Exceptions
    Type Condition
    ArgumentNullException

    envName is null.

    ArgumentException

    envName is a Empty or consists only of white-space characters.

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