static void LogProgress(object sender, DataPackSavedEventArgs e) { Console.Write($"{e.RecordAfterLastSaved}\r"); using (var writer = new StreamWriter(@"E:\progress.txt")) { writer.Write(e.RecordAfterLastSaved.ToString()); } }
protected void OnDataPackSaved(DataPackSavedEventArgs e) { DataPackSaved?.Invoke(this, e); }