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