public DataController( IPairingService pairingService, IMainContentService mainContentService, IBlogContentService blogContentService) { this.pairingService = pairingService; this.mainContentService = mainContentService; this.blogContentService = blogContentService; }
/// <summary> /// Constructor. /// </summary> /// <param name="navService">Navigation service instance resolved by DI.</param> /// <param name="dispatcherService">Dispatcher service instance resolved by DI.</param> public VMMainPage(INavigationService navService, IDispatcherService dispatcherService, ISettingsService settingsService, IApiService apiService, INFCService nfcService, IBluetoothService bluetoothService, IBfService bfService, IPairingService pairingService, IUxService uxService) { this.navService = navService; this.settingsService = settingsService; this.dispatcherService = dispatcherService; this.apiService = apiService; this.nfcService = nfcService; this.bluetoothService = bluetoothService; this.bfService = bfService; this.pairingService = pairingService; this.uxService = uxService; this.setAsBusyCommand = new DelegateCommand <bool>(SetAsBusyExecte); this.logOutCommand = new DelegateCommand(LogOutExecute); this.navigateToSecureEmailCommand = new DelegateCommand(NavigateToSecureEmailExecute); this.navigateToShareSecureMessageCommand = new DelegateCommand(NavigateToShareSecureMessageExecute); this.startNfcPairingCommand = new DelegateCommand(StartNfcPairingExecute); this.navigateToAboutCommand = new DelegateCommand(NavigateToAboutExecute); this.addressChooserCommand = new DelegateCommand(AddressChooserExecute); this.sendSecureEmailCommand = new DelegateCommand(SendSecureEmailExecute, SendSecureEmailCanExecute); this.shareSecureMessageCommand = new DelegateCommand(ShareSecureMessageExecute, ShareSecureMessageCanExecute); this.publishMessageCommand = new DelegateCommand(PublishMessageExecute, PublishMessageCanExecute); this.writeToTagCommand = new DelegateCommand(WriteToTagExecute, WriteToTagCanExecute); this.encryptSecureNoteCommand = new DelegateCommand(EncryptSecureNoteExecute, EncryptSecureNoteCanExecute); this.clearLogCommand = new DelegateCommand(ClearLogExecute); this.navigateToInstructionsCommand = new DelegateCommand(NavigateToInstructionsExecite); this.pairDeviceCommand = new DelegateCommand(PairDeviceExecute, PairDeviceCanExecute); //this.pairDeviceCommand = new DelegateCommand(PairDeviceExecute); if (this.nfcService.ConnectDefaultProximityDevice()) { this.nfcService.DeviceArrived += nfcService_DeviceArrived; this.nfcService.DeviceLeft += nfcService_DeviceLeft; this.nfcService.MessageReceivedCompleted += nfcService_MessageReceivedCompleted; this.nfcService.MessagePublishedCompleted += nfcService_MessagePublishedCompleted; this.nfcService.SubscribeToMessage("WriteableTag"); this.nfcService.SubscribeToMessage("NDEF"); this.nfcService.SubscribeToMessage("NDEF:Unknown"); this.nfcService.SubscribeToMessage("WindowsMime"); } else { uxService.ShowToastNotification("Error", AppResources.NoNfcError); LogMessage(AppResources.NoNfcError, NfcLogItem.ERROR_ICON); } contacts = new Contacts(); myIdentity = (string)settingsService.Get("email"); }
public CmtPaymentService(ICommandBus commandBus, IOrderDao orderDao, ILogger logger, IAccountDao accountDao, IOrderPaymentDao paymentDao, ServerPaymentSettings serverPaymentSettings, IPairingService pairingService, ICreditCardDao creditCardDao) { _commandBus = commandBus; _orderDao = orderDao; _logger = logger; _accountDao = accountDao; _paymentDao = paymentDao; _serverPaymentSettings = serverPaymentSettings; _pairingService = pairingService; _creditCardDao = creditCardDao; }
public MonerisPaymentService(ICommandBus commandBus, ILogger logger, IOrderPaymentDao paymentDao, IServerSettings serverSettings, ServerPaymentSettings serverPaymentSettings, IPairingService pairingService, ICreditCardDao creditCardDao, IOrderDao orderDao) { _commandBus = commandBus; _logger = logger; _paymentDao = paymentDao; _serverSettings = serverSettings; _serverPaymentSettings = serverPaymentSettings; _pairingService = pairingService; _creditCardDao = creditCardDao; _orderDao = orderDao; MonerisHttpRequestWrapper.SetLogger(_logger); }
public BraintreePaymentService(ICommandBus commandBus, ILogger logger, IOrderPaymentDao paymentDao, IOrderDao orderDao, IServerSettings serverSettings, ServerPaymentSettings serverPaymentSettings, IPairingService pairingService, ICreditCardDao creditCardDao) { _commandBus = commandBus; _logger = logger; _paymentDao = paymentDao; _orderDao = orderDao; _serverSettings = serverSettings; _pairingService = pairingService; _creditCardDao = creditCardDao; BraintreeGateway = GetBraintreeGateway(serverPaymentSettings.BraintreeServerSettings); }
public PayPalService(IServerSettings serverSettings, ServerPaymentSettings serverPaymentSettings, ICommandBus commandBus, IAccountDao accountDao, IOrderDao orderDao, ILogger logger, IPairingService pairingService, IOrderPaymentDao paymentDao) : base(serverPaymentSettings, accountDao) { _serverSettings = serverSettings; _serverPaymentSettings = serverPaymentSettings; _commandBus = commandBus; _accountDao = accountDao; _orderDao = orderDao; _logger = logger; _pairingService = pairingService; _paymentDao = paymentDao; _resources = new Resources.Resources(serverSettings); }
public DataControllerBuilder WithPairingService(IPairingService pairingService) { this.pairingService = pairingService; return(this); }
public MatchController(IPairingService pairingService) { _pairingService = pairingService; }
public PairingController(IPairingService pairingService, IMapper mapper) { PairingService = pairingService; Mapper = mapper; }
public PairingController(IPairingService airportService) { this.pairingService = airportService; }
public DataController(IPairingService pairingService) { this.pairingService = pairingService; }
public PairingServiceTests() { _pairingService = new PairingService(); }
public PairingController(IPairingService pairingService) { _pairingService = pairingService ?? throw new ArgumentNullException(nameof(pairingService)); }
public PairingController(IPairingService pairingService) { _pairingService = pairingService; }