Condividi tramite


IConfigurationManager<T> Interface

Definition

Interface that defines a model for retrieving configuration data.

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

Type Parameters

T

The type of IDocumentRetriever.

Derived

Methods

GetConfigurationAsync(CancellationToken)

Retrieve the current configuration, refreshing and/or caching as needed. This method will throw if the configuration cannot be retrieved, instead of returning null.

RequestRefresh()

Indicate that the configuration may be stale (as indicated by failing to process incoming tokens).

Applies to