KeyPerFileConfigurationProvider 類別

定義

使用目錄檔案作為組態索引鍵/值的 ConfigurationProvider

public ref class KeyPerFileConfigurationProvider : Microsoft::Extensions::Configuration::ConfigurationProvider
public ref class KeyPerFileConfigurationProvider : Microsoft::Extensions::Configuration::ConfigurationProvider, IDisposable
public class KeyPerFileConfigurationProvider : Microsoft.Extensions.Configuration.ConfigurationProvider
public class KeyPerFileConfigurationProvider : Microsoft.Extensions.Configuration.ConfigurationProvider, IDisposable
type KeyPerFileConfigurationProvider = class
    inherit ConfigurationProvider
type KeyPerFileConfigurationProvider = class
    inherit ConfigurationProvider
    interface IDisposable
Public Class KeyPerFileConfigurationProvider
Inherits ConfigurationProvider
Public Class KeyPerFileConfigurationProvider
Inherits ConfigurationProvider
Implements IDisposable
繼承
KeyPerFileConfigurationProvider
實作

建構函式

KeyPerFileConfigurationProvider(KeyPerFileConfigurationSource)

初始化新的執行個體。

屬性

Data

此提供者的組態索引碼值組。

(繼承來源 ConfigurationProvider)

方法

Dispose()

執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之應用程式定義的工作。

Equals(Object)

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

(繼承來源 Object)
GetChildKeys(IEnumerable<String>, String)

傳回此提供者具有的索引鍵清單。

(繼承來源 ConfigurationProvider)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetReloadToken()

傳回可在重新載入此提供者時用於接聽的 IChangeToken

(繼承來源 ConfigurationProvider)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
Load()

載入組態值。

MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
OnReload()

觸發重新載入變更權杖,並建立一個新權杖。

(繼承來源 ConfigurationProvider)
Set(String, String)

設定指定索引鍵的值。

(繼承來源 ConfigurationProvider)
ToString()

產生表示此提供者名稱和相關詳細資料的字串。

ToString()

產生表示此提供者名稱和相關詳細資料的字串。

(繼承來源 ConfigurationProvider)
TryGet(String, String)

嘗試尋找具有指定索引鍵的值。

(繼承來源 ConfigurationProvider)

適用於