Search Results for

    Show / Hide Table of Contents

    Constructor EnvValidator

    | Improve this Doc View Source

    EnvValidator()

    Initializes a new instance of the EnvValidator class.

    Declaration
    public EnvValidator()
    | Improve this Doc View Source

    EnvValidator(IEnvironmentVariablesProvider)

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

    Declaration
    public EnvValidator(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