예제 #1
0
 private Action<long, long> SetProgress(Dispatcher dispatcher, ResourceModel model)
 {
     return (received, total) =>
     {
         dispatcher.Handle(() => model.SetProgress(received, total));
     };
 }