private void SynchronizeCurrentDisplayTargetWithNavigator(NavigationPayload navigationPayload) { if (navigationPayload.NavigationTarget != null) { this.ViewModel.AssignDisplayTarget(navigationPayload.TargetController.ViewModel, navigationPayload.NavigationTarget.DisplayName); } }
private void HandleNavigatorNavigated(NavigationPayload navigationPayload) { this.SynchronizeCurrentDisplayTargetWithNavigator(navigationPayload); }