public TotalProgressFactory(IProgressUiFactory progressUiFactory, bool showProgress, int loadOperationThresholdForProgressDisplay, IExceptionLogger exceptionLogger)
        {
            _progressUiFactory = progressUiFactory;
            _exceptionLogger   = exceptionLogger;

            LoadOperationThresholdForProgressDisplay = loadOperationThresholdForProgressDisplay;
            ShowProgress = showProgress;
        }
 public TotalProgressLogger(IProgressUiFactory uiFactory, IExceptionLogger exceptionLogger)
 {
     _exceptionLogger = exceptionLogger;
       _progressUi = uiFactory.Create (3 * c_SingleStepTotal);
 }
 public TotalProgressContext(IProgressUiFactory progressUiFactory, int loadOperationThresholdForProgressDisplay, IExceptionLogger exceptionLogger)
 {
     _progressUiFactory = progressUiFactory;
     _loadOperationThresholdForProgressDisplay = loadOperationThresholdForProgressDisplay;
     _exceptionLogger = exceptionLogger;
 }
 public TotalProgressContext(IProgressUiFactory progressUiFactory, int loadOperationThresholdForProgressDisplay, IExceptionLogger exceptionLogger)
 {
     _progressUiFactory = progressUiFactory;
       _loadOperationThresholdForProgressDisplay = loadOperationThresholdForProgressDisplay;
       _exceptionLogger = exceptionLogger;
 }
 public TotalProgressLogger(IProgressUiFactory uiFactory, IExceptionLogger exceptionLogger)
 {
     _exceptionLogger = exceptionLogger;
     _progressUi      = uiFactory.Create(3 * c_SingleStepTotal);
 }
예제 #6
0
 public TotalProgressLogger(IProgressUiFactory uiFactory, IExceptionLogger exceptionLogger, int chunkCount)
 {
     _exceptionLogger = exceptionLogger;
     _progressUi      = uiFactory.Create(chunkCount * 3);
 }