Search
DataSourceRegistry Members
Constructors Methods
 


Manages the data sources for a dashboard, including automatic refresh logic.

The following tables list the members exposed by the DataSourceRegistry type.

 Public Constructors

  Name Description

DataSourceRegistry

Initializes a new instance of the DataSourceRegistry class.

 Public Methods

  Name Description

add

Adds a data source to the registry and starts a polling timer if refreshInterval is set.

dispose

Disposes of all data sources and clears all polling timers.

get

Gets a data source by its ID.

getSources

Gets all data sources in the registry.

refresh

Refreshes data from a specified data source and caches the result.

refreshAll

Refreshes all registered data sources.

remove

Removes a data source and its associated timer from the registry.

updateTimer

Updates or restarts the polling timer for the specified data source.

 See Also