예제 #1
0
 /// <summary>
 /// Called when all files have been processed.
 /// </summary>
 /// <param name="finishedAll"></param>
 protected virtual void AllFilesFinished(bool finishedAll)
 {
     FileTracker?.Invoke(this, new FileEventArgs(finishedAll));
 }
예제 #2
0
 /// <summary>
 /// Listener to track file progress
 /// </summary>
 /// <param name="newFile"></param>
 /// <param name="read"></param>
 /// <param name="processed"></param>
 /// <param name="written"></param>
 /// <param name="finished"></param>
 protected virtual void TrackProcess(string newFile, double currentProgress, RunStatus status)
 {
     FileTracker?.Invoke(this, new FileEventArgs(newFile, currentProgress, status));
 }