public BridgeNavigatorWithRouting(INavigatorConfigurator configuration, IBrowserHistoryManager browserHistoryManager) : base(configuration) { _browserHistoryManager = browserHistoryManager; Window.OnPopState += e => { var urlInfo = _browserHistoryManager.ParseUrl(); this.NavigateWithoutPushState(string.IsNullOrEmpty(urlInfo.PageId) ? configuration.HomeId : urlInfo.PageId, urlInfo.Parameters); }; }
public BridgeNavigator(INavigatorConfigurator configuration) { Configuration = configuration; }