C# Class BackgroundServiceStarter, code

Inheritance: IHostedService
ファイルを表示 Open project: shendongnian/code

Public Methods

Method Description
BackgroundServiceStarter ( backgroundService )
StartAsync ( CancellationToken, cancellationToken ) : Task,
StopAsync ( CancellationToken, cancellationToken ) : Task,

Method Details

BackgroundServiceStarter() public method

public BackgroundServiceStarter ( backgroundService )

StartAsync() public method

public StartAsync ( CancellationToken, cancellationToken ) : Task,
cancellationToken CancellationToken,
return Task,

StopAsync() public method

public StopAsync ( CancellationToken, cancellationToken ) : Task,
cancellationToken CancellationToken,
return Task,