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
파일 보기 프로젝트 열기: dealproc/Drey 1 사용 예제들

공개 메소드들

메소드 설명
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