protected override void OnStartup(object sender, StartupEventArgs e)
        {
            RxApp.Initialize(DependencyResolver, DispatcherScheduler.Current);
            RxLifeCycle.Initialize(DependencyResolver);

            DisplayRootViewFor <ShellViewModel>();
        }
        public ConductorWithCollectionOneActiveTests()
        {
            var dependencyResolver = new FakeDependencyResolverLifeCycle();

            RxApp.Initialize(dependencyResolver);
            RxLifeCycle.Initialize(dependencyResolver);
        }
Ejemplo n.º 3
0
        public LoadingViewTests()
        {
            var dependencyResolver = new FakeDependencyResolverLifeCycle();

            dependencyResolver.ReplaceSingletons <ILoadedForViewFetcher>(new TestLoadedForViewFetcher());
            RxApp.Initialize(dependencyResolver);
            RxLifeCycle.Initialize(dependencyResolver);
        }