Exemplo n.º 1
0
        void ResetCommandMethod()
        {
            //reset states to unhandled
            ApplyToVisitPurposeSelectionVMs(vp => vp.ResetState());

            IoC.ExecuteTripViewModel.UpdateStateOfDestination(DestinationVM.Destination, true);

            FrameHistory.CloseFrame();
        }
Exemplo n.º 2
0
        void FinishCommandMethod()
        {
            //set states based on their temporal values
            ApplyToVisitPurposeSelectionVMs(vp => vp.ApplyState());

            IoC.ExecuteTripViewModel.UpdateStateOfDestination(DestinationVM.Destination);

            FrameHistory.CloseFrame();

            //if there are further destinations to proceed with, re-open this frame
            IoC.ExecuteTripViewModel.ProceedWithNextDestination();
        }
Exemplo n.º 3
0
 protected virtual void CloseCommandMethod()
 {
     FrameHistory.CloseFrame();
 }