コード例 #1
0
 /// <summary>
 /// Starts the automation background service.
 /// </summary>
 /// <param name="cancellationToken"></param>
 /// <returns></returns>
 public async Task StartAsync(CancellationToken cancellationToken)
 {
     _logger.LogInformation("Starting automation service.");
     await _service.RefreshAutomationsAsync();
 }