Search Results for

    Show / Hide Table of Contents

    Namespace DotEnv.Core

    Classes

    BinderException

    The exception that is thrown when the binder encounters one or more errors.

    Env

    This class defines methods to perform checks with the current environment.

    EnvAccessorExtensions

    Represents an accessor of environment variables for the String class.

    EnvBinder

    Allows binding strongly typed objects to configuration values.

    EnvironmentVariablesProviderExtensions

    Extension methods for adding IEnvironmentVariablesProvider.

    EnvKeyAttribute

    Represents the key of a .env file that is assigned to a property.

    EnvLoader

    Represents the .env files loader.

    EnvParser

    Defines the methods that control the parser behavior.

    EnvReader

    Defines the methods used to read environment variables from a specific provider.

    EnvValidationResult

    Represents a container for the results of a validation.

    EnvValidator

    Represents the validator of the required keys.

    ParserException

    The exception that is thrown when the parser encounters one or more errors.

    RequiredKeysNotPresentException

    The exception that is thrown when the required keys are not present in the application.

    VariableNotSetException

    The exception that is thrown when the environment variable is not set to a specific provider (e.g., current process or a Dictionary<TKey,TValue>).

    Interfaces

    IEnvBinder

    Allows binding strongly typed objects to configuration values.

    IEnvironmentVariablesProvider

    Represents the environment variables provider. The environment variables can be obtained from any provider (e.g., from a Dictionary<TKey,TValue> or from the current process).

    IEnvLoader

    Represents the .env files loader.

    IEnvParser

    Defines the methods that control the parser behavior.

    IEnvReader

    Defines the methods used to read environment variables from a specific provider.

    IEnvValidator

    Represents the validator of the required keys.

    Enums

    ConcatKeysOptions

    Specifies the options for concatenation of duplicate keys such as whether to concatenate at the start or end of the value.

    In This Article
    Back to top Copyright ©2021 DotEnv.Core