Beispiel #1
0
 public ProgressWriter(long expectedTargetValue, OutputDevice output)
 {
     _expectedTargetValue = expectedTargetValue;
     _out           = output;
     _progressDots  = 0;
     _startTime     = DateTime.Now;
     _lastEtaUpdate = DateTime.MinValue;
     _etaWriter     = new CancelWriter(_out);
     ScreenWidth    = DefaultScreenWidth;
 }
Beispiel #2
0
 public ProgressWriter(long expectedTargetValue, OutputDevice output)
 {
     _expectedTargetValue = expectedTargetValue;
     _out = output;
     _progressDots = 0;
     _startTime = DateTime.Now;
     _lastEtaUpdate = DateTime.MinValue;
     _etaWriter = new CancelWriter(_out);
     ScreenWidth = DefaultScreenWidth;
 }