public void OnControllerLoadComplete(IMXController controller, MXShowViewRequest showViewRequest)
        {
            if (_lastSeenViewModel != null)
            {
                // TODO - this requestStop is possibly called too late... but not sure we have any 
                _lastSeenViewModel.RequestStop();
                _lastSeenViewModel = null;
            }

            var model = showViewRequest.ViewModel;
            _lastSeenViewModel = model as IMXViewModel;
            if (_lastSeenViewModel != null)
            {
                _lastSeenViewModel.ViewDispatcher = _dispatcherFactory();
            }
        }
        public void OnControllerLoadComplete(IMXController controller, MXShowViewRequest showViewRequest)
        {
            if (_lastSeenViewModel != null)
            {
                // TODO - this requestStop is possibly called too late... but not sure we have any
                _lastSeenViewModel.RequestStop();
                _lastSeenViewModel = null;
            }

            var model = showViewRequest.ViewModel;

            _lastSeenViewModel = model as IMXViewModel;
            if (_lastSeenViewModel != null)
            {
                _lastSeenViewModel.ViewDispatcher = _dispatcherFactory();
            }
        }