public async Task Run() { _urlSaver.UpdateStatusLine += ((s, e) => { _statusReporter.Update(e.Delta); _logger.WriteRedText($"Current status {_statusReporter.CurrentStatus} % "); }); if (await _urlSaver.TryGetGetUrlsFromStorageAsync()) { await _urlSaver.GetDataFromUrlAsync(5); await _urlSaver.SaveContentToStorageAsync(); ConsoleWithLocker.WriteLine("************** ALL DONE**************"); } }
public void Write(string logInformation) { ConsoleWithLocker.WriteLine(logInformation); }