public void PrintProgress(ITransferStatisticsSnapshot statistics) { var message = String.Format(CultureInfo.InvariantCulture, Resources.StatisticsProgressFormat, statistics.Transferred, statistics.GetErrors().Count, statistics.ElapsedTime); Console.Write("\r{0}", message); }
public void PrintResult(ITransferStatisticsSnapshot statistics) { Console.Write("\r{0}\r", new String(' ', Console.WindowWidth - 1)); Console.WriteLine(String.Format(CultureInfo.InvariantCulture, Resources.StatisticsResultFormat, statistics.Transferred, statistics.Failed, statistics.ElapsedTime)); PrintFailures(statistics.GetErrors()); }
public void PrintResult(ITransferStatisticsSnapshot statistics) { Console.Write("\r{0}\r", new String(' ', Console.WindowWidth - 1)); Console.WriteLine(String.Format(CultureInfo.InvariantCulture, Resources.StatisticsResultFormat, statistics.Transferred, statistics.Failed, statistics.ElapsedTime)); PrintFailures(statistics.GetErrors()); }