예제 #1
0
 public MainPageViewModel(IViewContext viewContext)
 {
     this.alertUtility = viewContext.GetAlertUtility();
     this.navigation   = viewContext.GetNavigation();
     LogoutCommand     = new Command(HandleAction);
 }
예제 #2
0
 public OneVIewModel(IViewContext viewContext)
 {
     this.alertUtility = viewContext.GetAlertUtility();
     this.navigation   = viewContext.GetNavigation();
     TestCommand       = new Command(async() => await OnTest());
 }
예제 #3
0
        //private PageOne pageOne;

        public TwoViewModel(IViewContext viewContext)
        {
            this.alertUtility = viewContext.GetAlertUtility();
            this.navigation   = viewContext.GetNavigation();
            TestTwoCommand    = new Command(OnTwoTest);
        }