public override Task CheckInstructionNotificationAsync(GatewayInstructionNotificationMessage message) { return(this.RespondToInstructionNotificationAsync(message, _navData, () => { _mobileData = _navData.Data; RaiseAllPropertiesChanged(); })); }
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)); }
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(); })); }