Esempio n. 1
0
        public MainPage()
        {
            InitializeComponent();

            _viewModel = new Common.MainPageViewModel(new CoreDispatcherScheduler(Dispatcher));

            DataContext = _viewModel;
        }
Esempio n. 2
0
        public MainPage()
        {
            InitializeComponent();

            _viewModel = new Common.MainPageViewModel(new SynchronizationContextScheduler(SynchronizationContext.Current));

            DataContext = _viewModel;
        }