EnvironmentVariablesConfigurationSource 類別

定義

將環境變數表示為 IConfigurationSource

public ref class EnvironmentVariablesConfigurationSource : Microsoft::Extensions::Configuration::IConfigurationSource
public class EnvironmentVariablesConfigurationSource : Microsoft.Extensions.Configuration.IConfigurationSource
type EnvironmentVariablesConfigurationSource = class
    interface IConfigurationSource
Public Class EnvironmentVariablesConfigurationSource
Implements IConfigurationSource
繼承
EnvironmentVariablesConfigurationSource
實作

建構函式

EnvironmentVariablesConfigurationSource()

初始化 EnvironmentVariablesConfigurationSource 的新執行個體。

屬性

Prefix

用於篩選環境變數的前置詞。

方法

Build(IConfigurationBuilder)

建置此來源的 EnvironmentVariablesConfigurationProvider

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於