예제 #1
0
 public override Task CheckInstructionNotificationAsync(GatewayInstructionNotificationMessage message)
 {
     return(this.RespondToInstructionNotificationAsync(message, _navData, () =>
     {
         _mobileData = _navData.Data;
         RaiseAllPropertiesChanged();
     }));
 }
예제 #2
0
        public override Task CheckInstructionNotificationAsync(GatewayInstructionNotificationMessage message)
        {
            var currentMobileNavData = _navigationService.CurrentNavData as NavData <MobileData>;

            if (currentMobileNavData != null)
            {
                return(this.RespondToInstructionNotificationAsync(message, currentMobileNavData, null));
            }

            return(Task.FromResult(0));
        }
예제 #3
0
        public override Task CheckInstructionNotificationAsync(GatewayInstructionNotificationMessage message)
        {
            var orderID = _order.ID;

            return(this.RespondToInstructionNotificationAsync(message, _navData, () =>
            {
                _mobileData = _navData.Data;
                _order = _mobileData.Order.Items.FirstOrDefault(i => i.ID == orderID);
                _navData.OtherData["Order"] = _order;
                RaiseAllPropertiesChanged();
            }));
        }