예제 #1
0
        protected override void IglooPrepare(IBaseViewModelParameters parameter)
        {
            FirstViewModelParameters firstViewModelParameters = (FirstViewModelParameters)parameter;

            Generosity = firstViewModelParameters.Generosity;
            SubTotal   = firstViewModelParameters.Subtotal;
        }
예제 #2
0
        public Task NavToSecond()
        {
            FirstViewModelParameters firstViewModelParameters = new FirstViewModelParameters()
            {
                Subtotal   = 1,
                Generosity = 2
            };

            return(Task.FromResult <bool>(
                       _mvxNavigationService.Navigate <SecondViewModel>().GetAwaiter().GetResult()
                       ));
        }
예제 #3
0
        public Task NavToFirst()
        {
            FirstViewModelParameters firstViewModelParameters = new FirstViewModelParameters()
            {
                Subtotal   = 20,
                Generosity = 40
            };

            return(Task.FromResult <bool>(
                       _mvxNavigationService.Navigate <FirstViewModel, FirstViewModelParameters>(firstViewModelParameters).GetAwaiter().GetResult()
                       ));
        }