C# Класс Drey.Configuration.ServiceModel.ReleasesPollingClient

Manages resolving updated versions of installed packages, downloads them, and signals to the runtime to reload the package at the current release level.
Наследование: IPollingClient, IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

ReleasesPollingClient ( string packageId, Infrastructure dbConfigurationSettingsFactory, INutConfiguration configurationManager, Services globalSettingsService, Services packageService, IEventBus eventBus ) : Drey.Logging

Initializes a new instance of the ReleasesPollingClient class.

Start ( CancellationToken ct ) : void

Starts the polling client and query for updated releases.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Приватные методы

Метод Описание
DownloadAndExtractRelease ( HttpClient webClient, DataModel releaseToDownload ) : Task
executePollingLoop ( ) : void

Описание методов

Dispose() публичный Метод

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Результат void

ReleasesPollingClient() публичный Метод

Initializes a new instance of the ReleasesPollingClient class.
public ReleasesPollingClient ( string packageId, Infrastructure dbConfigurationSettingsFactory, INutConfiguration configurationManager, Services globalSettingsService, Services packageService, IEventBus eventBus ) : Drey.Logging
packageId string The package identifier.
dbConfigurationSettingsFactory Infrastructure The database configuration settings factory.
configurationManager INutConfiguration The configuration manager.
globalSettingsService Services The global settings service.
packageService Services The package service.
eventBus IEventBus The event bus.
Результат Drey.Logging

Start() публичный Метод

Starts the polling client and query for updated releases.
public Start ( CancellationToken ct ) : void
ct System.Threading.CancellationToken The ct.
Результат void