语言

IConfigurationManager<T> 接口

定义

用于定义用于检索配置数据的模型的接口。

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

类型参数

T

IDocumentRetriever 的类型。

派生

方法

名称 说明
GetConfigurationAsync(CancellationToken)

根据需要检索当前配置、刷新和/或缓存。 如果无法检索配置,而不是返回 null,此方法将引发。

RequestRefresh()

指示配置可能已过时(如未能处理传入令牌所指示)。

适用于