C# 클래스 JsonDataCreator, code

Background Service which creates the JSON Files for the machine
상속: IHostedService, IDisposable
파일 보기 프로젝트 열기: shendongnian/code

공개 메소드들

메소드 설명
Dispose ( ) : void

Disposes the Task

JsonDataCreator ( ILogger, logger )

Constructor

StartAsync ( CancellationToken, cancellationToken ) : Task,

Task which is executed Asynchronous

StopAsync ( CancellationToken, cancellationToken ) : Task,

Stops the Task

메소드 상세

Dispose() 공개 메소드

Disposes the Task
public Dispose ( ) : void
리턴 void

JsonDataCreator() 공개 메소드

Constructor
public JsonDataCreator ( ILogger, logger )
logger ILogger, Logger functionallity

StartAsync() 공개 메소드

Task which is executed Asynchronous
public StartAsync ( CancellationToken, cancellationToken ) : Task,
cancellationToken CancellationToken, Cancellation token for stopping the Task
리턴 Task,

StopAsync() 공개 메소드

Stops the Task
public StopAsync ( CancellationToken, cancellationToken ) : Task,
cancellationToken CancellationToken,
리턴 Task,