示例#1
0
        public override void OnNavigatingFrom(NavigatingFromEventArgs e, Dictionary <string, object> viewModelState, bool suspending)
        {
            if (viewModelState == null || viewModelState.Count == 0)
            {
                return;
            }

            ShippingAddressViewModel.OnNavigatingFrom(e, viewModelState["ShippingViewModel"] as Dictionary <string, object>, suspending);
            BillingAddressViewModel.OnNavigatingFrom(e, viewModelState["BillingViewModel"] as Dictionary <string, object>, suspending);
            PaymentMethodViewModel.OnNavigatingFrom(e, viewModelState["PaymentMethodViewModel"] as Dictionary <string, object>, suspending);
            base.OnNavigatingFrom(e, viewModelState, suspending);
        }
示例#2
0
 public override void OnNavigatingFrom(NavigatingFromEventArgs e, Dictionary <string, object> viewModelState, bool suspending)
 {
     PaymentMethodViewModel.OnNavigatingFrom(e, viewModelState, suspending);
 }