static void OnGathered(object sender, GatherEventArgs e) { Console.WriteLine("Syncing {0} files for a total of {1} bytes", e.TotalFileCount, e.TotalFileSize); }
private void OnGathered(long totalFileCount, long totalFileSize) { if(Gathered != null) { var args = new GatherEventArgs() { TotalFileCount = totalFileCount, TotalFileSize = totalFileSize }; Gathered(this, args); } }