static IPromise <T> DoShow <T>(T view) where T : View
 {
     return(view.Show().Then(() =>
     {
         OnViewChange?.Invoke(view);
         return Promise <T> .Resolved(view);
     }));
 }
 public static void InvokeViewChange(string tree) => OnViewChange?.Invoke(tree);
Example #3
0
 protected virtual void ViewChanging([CallerMemberName] string propertyName = null)
 {
     OnViewChange?.Invoke(this, new PropertyChangedEventArgs(propertyName));
 }