Esempio n. 1
0
 public ScanAndRepairProgress(int totalFile, int currentIndex, ExLog progressLog)
 {
     ProgressPercentage = Convert.ToInt32(
         Math.Round((double)currentIndex / totalFile * 100,
                    MidpointRounding.ToEven));
     TotalFile    = totalFile;
     CurrentIndex = currentIndex;
     ScanAndRepairFileProgress = null;
     ProgressLog = progressLog;
 }
Esempio n. 2
0
 public ScanAndRepairFileProgress(string fileName, int totalProgressPercentage, ExLog progressLog)
 {
     FileName = fileName;
     TotalProgressPercentage = totalProgressPercentage;
     ProgressLog             = progressLog;
 }