Exemplo n.º 1
0
 public UpdaterClientEventArgs(IEnumerable <Release> items)
     : this("Finished checking for Updates")
 {
     items.AsParallel().ForAll(item =>
     {
         var update = new AvailableUpdate(item);
         this.items.Add(update.Date, update);
     });
     this.Completed = true;
 }
 public UpdaterClientEventArgs(IEnumerable<Release> items)
     : this("Finished checking for Updates")
 {
     items.AsParallel().ForAll(item =>
     {
         var update = new AvailableUpdate(item);
         this.items.Add(update.Date, update);
     });
     this.Completed = true;
 }