コード例 #1
0
        public App()
        {
            InitializeComponent();
            TaskExtensions.DefinirAoDispararExcecaoPadrao(ex => Console.WriteLine(ex));

            var startup = new Startup();

            _navegacaoService = startup.PegarNavegacao();
            _navegacaoService.NavegarAsync("MainPage").TentarExecutar();
        }
コード例 #2
0
 protected override void OnStart()
 {
     _navegacaoService.NavegarAsync("MainPage").TentarExecutar();
 }
コード例 #3
0
 private void DevsPageCommandExecute(object obj)
 {
     _navegacaoService.NavegarAsync("/DevsPage?Texto=Olá da query string", true).TentarExecutar();
 }