語言

IConfigurationManager<T> 介面

定義

定義用於擷取配置資料模型的介面。

public interface IConfigurationManager<T> where T : class
type IConfigurationManager<'T (requires 'T : null)> = interface
Public Interface IConfigurationManager(Of T)

類型參數

T

IDocumentRetriever 的類型。

衍生

方法

名稱 Description
GetConfigurationAsync(CancellationToken)

擷取目前的設定,必要時刷新和/或快取。 若無法擷取配置,此方法會拋出,而非回傳 null。

RequestRefresh()

表示該配置可能已過時(如無法處理輸入令牌)。

適用於