Search Results for

    Show / Hide Table of Contents

    Interface IEnvBinder

    Allows binding strongly typed objects to configuration values.

    Namespace: DotEnv.Core
    Assembly: DotEnv.Core.dll
    Syntax
    public interface IEnvBinder

    Methods

    Name Description
    AllowBindNonPublicProperties()

    Allows binding of non-public properties. This method tells the binder that it can set non-public properties.

    Bind<TSettings>()

    Binds the instance of the environment variables provider to a new instance of type TSettings.

    Bind<TSettings>(out EnvValidationResult)

    Binds the instance of the environment variables provider to a new instance of type TSettings.

    IgnoreException()

    Disables/ignores BinderException. This method tells the binder not to throw an exception when it encounters one or more errors.

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