public static void Report(string text, ProgressActionSet progressActionSet) { if (progressActionSet != null) { progressActionSet.Report(text); } }
public static void ProgressAction(int totalOperationsProgressed, ProgressActionSet progressActionSet) { if (progressActionSet != null) { progressActionSet.ProgressAction(totalOperationsProgressed); } }
public static void StartAction(int totalOperationsRequired, ProgressActionSet progressActionSet) { if (progressActionSet != null) { progressActionSet.StartAction(totalOperationsRequired); } }
public static void FinishAction(bool successful, ProgressActionSet progressActionSet) { if (progressActionSet != null) { progressActionSet.FinishAction(successful); } }
public static void ReportFilesSaved(string[] filesSaved, ProgressActionSet progressActionSet) { foreach (string savedFile in filesSaved) { Report("Saved: " + savedFile, progressActionSet); } }
public static void EstimatedTimeRemainingAction(long startTicks, long itemsCompleted, long itemsTotal, ProgressActionSet progressActionSet) { if (progressActionSet != null) { progressActionSet.EstimatedTimeRemainingAction(startTicks, itemsCompleted, itemsTotal); } }