Example #1
0
 public static IDisposable BindPopup(
     this PopupModel model,
     IPopupController popupController)
 {
     return(model.Context.CloseCommand
            .SubscribeOn(RxApp.TaskpoolScheduler)
            .ObserveOn(RxApp.MainThreadScheduler)
            .Accept(_ =>
     {
         popupController.Hide();
     }));
 }