public async Task StopAsync(IHost host) { _logger.LogDebug("HostBootManager > StopAsync > started"); await _bootManager.StopAsync(host); _logger.LogDebug("HostBootManager > StopAsync > ended"); }
public async Task StopAsync(CancellationToken cancellationToken = new CancellationToken()) { await _bootManager.StopAsync(); await _host.StopAsync(cancellationToken); }