KeyPerFileConfigurationSource 類別

定義

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

建構函式

KeyPerFileConfigurationSource()

建構函式;

屬性

FileProvider

作為根 "/" 目錄檔案的 FileProvider 將作為組態資料使用。

IgnoreCondition

用於判斷是否應使用檔案名稱來忽略檔案。 預設為使用 IgnorePrefix。

IgnorePrefix

將會排除以這個前置詞開頭的檔案。 預設為 "ignore."。

Optional

如果為 false,則會在目錄不存在時擲回。

ReloadDelay

在呼叫載入之前,重新載入會等待的毫秒數。 這有助於避免在完整寫入檔案之前觸發重新載入。 預設為 250。

ReloadOnChange

判斷是否要在基礎檔案變更時載入來源。

SectionDelimiter

用來分隔路徑中個別索引鍵的分隔符。

方法

Build(IConfigurationBuilder)

建置此來源的 KeyPerFileConfigurationProvider

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於