Search Results for

    Show / Hide Table of Contents

    Class EnvConfigurationSource

    Represents an ENV file as an IConfigurationSource.

    Inheritance
    Object
    EnvConfigurationSource
    Implements
    IConfigurationSource
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Microsoft.Extensions.Configuration
    Assembly: DotEnv.Extensions.Microsoft.Configuration.dll
    Syntax
    public class EnvConfigurationSource : IConfigurationSource

    Properties

    Name Description
    Optional

    Determines if loading the file is optional.

    Path

    The path to the file.

    Methods

    Name Description
    Build(IConfigurationBuilder)

    Builds the EnvConfigurationProvider for this source.

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