Beispiel #1
0
        public async Task Main()
        {
            var navController = new NavController();
            await navController.InitAsync(new TestPage0());

            await navController.PushAsync <TestViewModel1>();

            await navController.PushAsync <TestViewModel2>();

            await navController.PushAsync <TestViewModel3>();

            await navController.InsertPageBefore <TestViewModel2, TestViewModel5>();
        }
        public async Task SetupAsync()
        {
            navController = new NavController();
            await navController.InitAsync(new TestPage0());

            await navController.PushAsync <TestViewModel1>();

            await navController.PushAsync <TestViewModel2>();

            await navController.PushAsync <TestViewModel3>();

            diNavController = new NavController();
            await diNavController.DiInitAsync(new DiTestViewModel0());

            await diNavController.DiPushAsync(new DiTestViewModel1());

            await diNavController.DiPushAsync(new DiTestViewModel2());

            await diNavController.DiPushAsync(new DiTestViewModel3());
        }