public Person4ManagerController(IEmpProvider empProvider, ICustomerProvider customerProvider, IPowerCheckProvider powerCheckProvider, IOrderProvider orderProvider) { _empProvider = empProvider; _customerProvider = customerProvider; _powerCheckProvider = powerCheckProvider; _orderProvider = orderProvider; }
public CustomerMembershipService(ICustomerProvider customerProvider , ICustomerService customerService, IPasswordEncryptor passwordEncryptor) { this.CustomerProvider = customerProvider; this.CustomerService = customerService; this.PasswordEncryptor = passwordEncryptor; }
/// <summary> /// Initializes a new instance of the <see cref="AppointmentsManager" /> class. /// </summary> /// <param name="loggingService">The logging service.</param> /// <param name="appointmentsProvider">The appointments provider.</param> /// <param name="insertappointmentTranslator">The insertappointment translator.</param> /// <param name="databaseProvider">The database provider.</param> /// <param name="iCalendarService">The i calendar service.</param> /// <param name="eventPublisher">The event publisher.</param> /// <param name="cookieService">The cookie service.</param> /// <param name="appointmentTranslator">The appointment translator.</param> /// <param name="encryptionService">The encryption service.</param> /// <param name="mailProvider">The email provider.</param> /// <param name="appointmentsBootGridTranslator">The appointments boot grid translator.</param> /// <param name="customerProvider">The customer provider.</param> public AppointmentsManager( ILoggingService loggingService, IAppointmentsProvider appointmentsProvider, IInsertAppointmentTranslator insertappointmentTranslator, IDatabaseProvider databaseProvider, IICalendarService iCalendarService, IEventPublisher eventPublisher, ICookieService cookieService, IAppointmentTranslator appointmentTranslator, IEncryptionService encryptionService, IMailProvider mailProvider, IAppointmentsBootGridTranslator appointmentsBootGridTranslator, ICustomerProvider customerProvider) { this.loggingService = loggingService; this.appointmentsProvider = appointmentsProvider; this.insertAppointmentTranslator = insertappointmentTranslator; this.databaseProvider = databaseProvider; this.iCalendarService = iCalendarService; this.eventPublisher = eventPublisher; this.cookieService = cookieService; this.appointmentTranslator = appointmentTranslator; this.encryptionService = encryptionService; this.mailProvider = mailProvider; this.appointmentsBootGridTranslator = appointmentsBootGridTranslator; this.customerProvider = customerProvider; }
public CoreConnectionProvider(ICustomerProvider customerProvider, IIdentityProvider identityProvider, IOptions <ConnectionProperties> cnnProps, Service defaultService = Service.Admin) { _defaultConnections = new Dictionary <Service, Customer>(); _customerProvider = customerProvider; _identityProvider = identityProvider; _defaultService = defaultService; _cnnProps = cnnProps.Value; if (!QPMode) { var dbType = _cnnProps.GetDatabaseType(); _defaultConnections.Add(Service.Admin, new Customer { ConnectionString = _cnnProps.DpcConnectionString, DatabaseType = dbType }); _defaultConnections.Add(Service.Actions, new Customer { ConnectionString = _cnnProps.TasksConnectionString, DatabaseType = dbType }); _defaultConnections.Add(Service.Notification, new Customer { ConnectionString = _cnnProps.NotificationsConnectionString, DatabaseType = dbType }); } }
/// <summary> /// Initializes a new instance of the <see cref="T:Spectrum.Content.BaseController" /> class. /// </summary> /// <param name="loggingService">The logging service.</param> /// <param name="customerProvider">The customer provider.</param> /// <inheritdoc /> public CustomerController( ILoggingService loggingService, ICustomerProvider customerProvider) : base(loggingService) { this.customerProvider = customerProvider; }
public PurchaseApiController(ICustomerProvider customerProvider, IVirtualAccountServiceGateway virtualAccountServiceGateway, IBettingServiceGateway bettingServiceGateway, ICustomerServiceGateway customerServiceGateway, IBettingHistoryServiceGateway bettingHistoryServiceGateway) { _customerProvider = customerProvider; _virtualAccountServiceGateway = virtualAccountServiceGateway; _bettingServiceGateway = bettingServiceGateway; _customerServiceGateway = customerServiceGateway; _bettingHistoryServiceGateway = bettingHistoryServiceGateway; }
public FactoryBase(ICustomerProvider customerProvider, ILogger logger, bool autoRegister) { _logger = logger; _customerProvider = customerProvider; _autoRegister = autoRegister; CustomerMap = new Dictionary <string, CustomerContext>(); _locker = new object(); }
public GetCommerceUserProcessorTests() { this.fixture = new Fixture(); this.customerProvider = Substitute.For <ICustomerProvider>(); this.userMapper = Substitute.For <IUserMapper>(); this.logService = Substitute.For <ILogService <CommonLog> >(); this.processor = new GetCommerceUserProcessor(this.customerProvider, this.userMapper, this.logService); }
public FactoryWatcher(TimeSpan interval, IFactory factory, ICustomerProvider customerProvider, ILogger logger) { _interval = interval; _factory = factory; _customerProvider = customerProvider; _logger = logger; _timer = new Timer(OnTick, null, Timeout.InfiniteTimeSpan, Timeout.InfiniteTimeSpan); _locker = new object(); }
public ReportEngineProvider() { _clientTypeManager = GetContainer().Resolve <ICustomerTypeProvider>(); _smsProvider = GetContainer().Resolve <ISmsProvider>(); _callProvider = GetContainer().Resolve <ICallProvider>(); _customerProvider = GetContainer().Resolve <ICustomerProvider>(); _packageProvider = GetContainer().Resolve <IPackageProvider>(); _lineProvider = GetContainer().Resolve <ILineProvider>(); }
public CustomerViewModelBuilder( ICustomerRequestBuilder customerRequestBuilder, ICustomerProvider customerProvider) { Condition.Requires(customerRequestBuilder, nameof(customerRequestBuilder)).IsNotNull(); Condition.Requires(customerProvider, nameof(customerProvider)).IsNotNull(); _customerRequestBuilder = customerRequestBuilder; _customerProvider = customerProvider; }
public AuthenticationController( ICustomerProvider customerProvider, IVisitorContext visitorContext, ICartRepository cartRepository, ICommerceTrackingService commerceTrackingService) { this.customerProvider = customerProvider; this.visitorContext = visitorContext; this.cartRepository = cartRepository; this.commerceTrackingService = commerceTrackingService; }
public CustomerViewModelBuilder( ICustomerRequestBuilder customerRequestBuilder, ICustomerProvider customerProvider, ICustomerAccountsRequestBuilder customerAccountsRequestBuilder, ICustomerAccountsProvider customerAccountsProvider) { _customerRequestBuilder = customerRequestBuilder; _customerProvider = customerProvider; _customerAccountsRequestBuilder = customerAccountsRequestBuilder; _customerAccountsProvider = customerAccountsProvider; }
public CustomerController( ICustomerProvider customerProvider, ICommandHandler <AddCustomerCommand> addCustomerCommandHandler, ICommandHandler <UpdateCustomerCommand> updateCustomerCommandHandler, ICommandHandler <AddCustomerNoteCommand> addCustomerNoteCommandHandler) { _customerProvider = customerProvider; _addCustomerCommandHandler = addCustomerCommandHandler; _updateCustomerCommandHandler = updateCustomerCommandHandler; _addCustomerNoteCommandHandler = addCustomerNoteCommandHandler; }
public AccountApiController(IBettingServiceGateway bettingServiceGateway, IVirtualAccountServiceGateway virtualAccountServiceGateway, ICustomerProvider customerProvider, IExpertMarketServiceGateway expertMarketServiceGateway, IBetDateProvider betDateProvider, IBettingHistoryServiceGateway bettingHistoryServiceGateway, IMapper mapper, ITeamGameServiceGateway teamGameServiceGateway) { _bettingServiceGateway = bettingServiceGateway; _virtualAccountServiceGateway = virtualAccountServiceGateway; _customerProvider = customerProvider; _expertMarketServiceGateway = expertMarketServiceGateway; _betDateProvider = betDateProvider; _bettingHistoryServiceGateway = bettingHistoryServiceGateway; _mapper = mapper; _teamGameServiceGateway = teamGameServiceGateway; }
public CRMProvider() { _obj = new Object(); _customerProvider = ModulesRegistrations.RegisterCRMModule().Resolve <ICustomerProvider>(); _packageProvider = ModulesRegistrations.RegisterCRMModule().Resolve <IPackageProvider>(); _customerTypeProvider = ModulesRegistrations.RegisterCRMModule().Resolve <ICustomerTypeProvider>(); _lineProvider = ModulesRegistrations.RegisterCRMModule().Resolve <ILineProvider>(); _packageIncludeProvider = ModulesRegistrations.RegisterCRMModule().Resolve <IPackageIncludeProvider>(); _selectedNumberProvider = ModulesRegistrations.RegisterCRMModule().Resolve <ISelectedNumberProvider>(); _smsProvider = ModulesRegistrations.RegisterCRMModule().Resolve <ISmsProvider>(); _callProvider = ModulesRegistrations.RegisterCRMModule().Resolve <ICallProvider>(); }
public GetCommerceUserProcessor( ICustomerProvider customerProvider, IUserMapper userMapper, ILogService <CommonLog> logService) : base(logService) { Assert.ArgumentNotNull(customerProvider, nameof(customerProvider)); Assert.ArgumentNotNull(userMapper, nameof(userMapper)); this.customerProvider = customerProvider; this.userMapper = userMapper; }
/// <summary> /// Initializes a new instance of the <see cref="PaymentMadeManager" /> class. /// </summary> /// <param name="loggingService">The logging service.</param> /// <param name="databaseProvider">The database provider.</param> /// <param name="customerProvider">The customer provider.</param> /// <param name="paymentTranslator">The payment translator.</param> /// <param name="mailProvider">The mail provider.</param> public PaymentMadeManager( ILoggingService loggingService, IDatabaseProvider databaseProvider, ICustomerProvider customerProvider, IPaymentTranslator paymentTranslator, IMailProvider mailProvider) { this.loggingService = loggingService; this.databaseProvider = databaseProvider; this.customerProvider = customerProvider; this.paymentTranslator = paymentTranslator; this.mailProvider = mailProvider; }
/// <summary> /// Initializes a new instance of the <see cref="PaymentMadeManager" /> class. /// </summary> /// <param name="loggingService">The logging service.</param> /// <param name="customerProvider">The customer provider.</param> /// <param name="databaseProvider">The database provider.</param> /// <param name="encryptionService">The encryption service.</param> /// <param name="cookieService">The cookie service.</param> public PaymentMadeManager( ILoggingService loggingService, ICustomerProvider customerProvider, IDatabaseProvider databaseProvider, IEncryptionService encryptionService, ICookieService cookieService) { this.loggingService = loggingService; this.customerProvider = customerProvider; this.databaseProvider = databaseProvider; this.encryptionService = encryptionService; this.cookieService = cookieService; }
public NotificationSender( ICustomerProvider customerProvider, IConnectionProvider connectionProvider, IIdentityProvider identityProvider, IFactoryWatcher factoryWatcher, IOptions <NotificationProperties> propsAccessor ) { _customerProvider = customerProvider; _connectionProvider = connectionProvider; _identityProvider = identityProvider; _configurationWatcher = factoryWatcher; _props = propsAccessor.Value; }
/// <summary> /// Initializes a new instance of the <see cref="InvoiceManager" /> class. /// </summary> /// <param name="invoiceTranslator">The invoice translator.</param> /// <param name="invoiceService">The invoice service.</param> /// <param name="clientService">The client service.</param> /// <param name="postalAddressService">The postal address service.</param> /// <param name="invoicesBootGridTranslator">The invoices boot grid translator.</param> /// <param name="customerProvider">The customer provider.</param> public InvoiceManager( IInvoiceTranslator invoiceTranslator, IInvoiceService invoiceService, IClientService clientService, IPostalAddressService postalAddressService, IInvoicesBootGridTranslator invoicesBootGridTranslator, ICustomerProvider customerProvider) { this.invoiceTranslator = invoiceTranslator; this.invoiceService = invoiceService; this.clientService = clientService; this.postalAddressService = postalAddressService; this.invoicesBootGridTranslator = invoicesBootGridTranslator; this.customerProvider = customerProvider; }
/// <summary> /// Initializes a new instance of the <see cref="SubscriptionsFacade" /> class. /// </summary> /// <param name="data">The subscription data service.</param> /// <param name="subscriptionProvider">The subscription provider.</param> /// <param name="cardProvider">The card provider.</param> /// <param name="cardDataService">The card data service.</param> /// <param name="customerProvider">The customer provider.</param> /// <param name="subscriptionPlanDataService">The subscription plan data service.</param> /// <param name="chargeProvider">The charge provider.</param> public SubscriptionsFacade( ISubscriptionDataService data, ISubscriptionProvider subscriptionProvider, ICardProvider cardProvider, ICardDataService cardDataService, ICustomerProvider customerProvider, ISubscriptionPlanDataService subscriptionPlanDataService, IChargeProvider chargeProvider) { _subscriptionDataService = data; _subscriptionProvider = subscriptionProvider; _cardProvider = cardProvider; _customerProvider = customerProvider; _subscriptionPlanDataService = subscriptionPlanDataService; _chargeProvider = chargeProvider; _cardDataService = cardDataService; }
public ConnectionProvider(ICustomerProvider customerProvider, IIdentityProvider identityProvider, Service defaultService) { _defaultConnections = new Dictionary <Service, Customer>(); _customerProvider = customerProvider; _identityProvider = identityProvider; _defaultService = defaultService; QPMode = GetQPMode() || defaultService == Service.HighloadAPI; UseQPMonitoring = GetUseQPMonitoring(); TransactionTimeout = GetTransactionTimeout(); if (!QPMode) { AddConnection(Service.Admin, AdminKey); AddConnection(Service.Notification, NotificationKey); AddConnection(Service.Actions, ActionsKey); } }
/// <summary> /// Initializes a new instance of the <see cref="PaymentManager" /> class. /// </summary> /// <param name="loggingService">The logging service.</param> /// <param name="customerProvider">The customer provider.</param> /// <param name="paymentProvider">The payment provider.</param> /// <param name="eventPublisher">The event publisher.</param> /// <param name="transactionsRepository">The transactions repository.</param> /// <param name="transactionTranslator">The transaction translator.</param> /// <param name="databaseProvider">The database provider.</param> /// <param name="transactionsBootGridTranslator">The transactions boot grid translator.</param> /// <param name="encryptionService">The encryption service.</param> public PaymentManager( ILoggingService loggingService, ICustomerProvider customerProvider, IPaymentProvider paymentProvider, IEventPublisher eventPublisher, ITransactionsRepository transactionsRepository, ITransactionTranslator transactionTranslator, IDatabaseProvider databaseProvider, ITransactionsBootGridTranslator transactionsBootGridTranslator, IEncryptionService encryptionService) { this.loggingService = loggingService; this.customerProvider = customerProvider; this.paymentProvider = paymentProvider; this.eventPublisher = eventPublisher; this.transactionsRepository = transactionsRepository; this.transactionTranslator = transactionTranslator; this.databaseProvider = databaseProvider; this.transactionsBootGridTranslator = transactionsBootGridTranslator; this.encryptionService = encryptionService; }
public AuthenticationController(ICustomerProvider customerProvider, IVisitorContext visitorContext, ICartRepository cartRepository) { this.customerProvider = customerProvider; this.visitorContext = visitorContext; this.cartRepository = cartRepository; }
public CustomersController(ICustomerProvider provider) => _customerProvider = provider;
public CustomersController(ICustomerProvider customerProvider) { this._customerProvider = customerProvider; }
public CustomerProxy(int id, ICustomerProvider provider) { this.id = id; this.provider = provider; }
public ProductsProvider(IProductRepository products, ICustomerProvider customerProvider) { _products = products; _customerProvider = customerProvider; }
public VisitorContext(ICustomerProvider customerProvider) { this.customerProvider = customerProvider; }