public PageNavigationService(INavigationStrategy navigationStrategy) { this.guard = new NavigationGuard(); this.guard.SetCancellationCallback(OnActivationCancel, OnDeactivationCancel); this.ActivePages = new Dictionary <Type, Page>(); this.navigationStrategy = navigationStrategy; this.HandleSystemPagePopped(); }
private void InitializeDoorNavigation() { DoorOrientationNavigator = new DoorOrientationNavigationStrategy(DoorDetector, SonarDetector); DoorOrientationNavigator.OnNavigationStrategyEnded += DoorOrientationNavigator_OnNavigationStrategyEnded; }