private void RegisterNavigationService(Frame shellFrame, bool treatViewAsLoaded = false) { _navigationService = new CustomFrameAdapter(shellFrame, treatViewAsLoaded); Kernel.Bind<INavigationService>().ToConstant(_navigationService); Kernel.Bind<ICustomFrameAdapter>().ToConstant(_navigationService); }
private void RegisterNavigationService(Frame shellFrame, bool treatViewAsLoaded = false) { _navigationService = new CustomFrameAdapter(shellFrame, treatViewAsLoaded); Kernel.Bind <INavigationService>().ToConstant(_navigationService); Kernel.Bind <ICustomFrameAdapter>().ToConstant(_navigationService); }