Esempio n. 1
0
        override protected void OnNavigatedFrom(NavigationEventArgs e)
        {
            AppModel.EnableAllNotificationsAsync(false);

            if (ServiceBusClientLib.ServiceBusClient.IsConnectionDataSet)
            {
                ServiceBus.DeRegisterMovementModel();
            }
        }
Esempio n. 2
0
        override protected void OnNavigatedTo(NavigationEventArgs e)
        {
            AppModel.EnableAllNotificationsAsync(true);

            //If we have set Azure Service bus settings, all changes in the model
            //will be streamed to service bus.
            if (ServiceBusClientLib.ServiceBusClient.IsConnectionDataSet)
            {
                ServiceBus.RegisterMovementModel(AppModel.Movement);
            }
        }