Esempio n. 1
0
 private void OnRemoteTaskSucceeded(object sender, TaskSucceededEventArgs args)
 {
     this.OnRemoteTaskDone(tcs => tcs.TrySetResult(args.Result));
 }
Esempio n. 2
0
 // must be public to be bindable to remote events
 public void OnTaskSucceeded(object sender, TaskSucceededEventArgs args)
 {
     this.taskSucceededEvent.InvokeEvent(e => e(sender, args));
 }