Ejemplo n.º 1
0
 public TextMessageCoordinator(ILogsRepository logsRepostiory, ISweetMessageService sweetMessageService,
                               ITextMessageService textMessageService)
 {
     _logsRepository      = logsRepostiory;
     _sweetMessageService = sweetMessageService;
     _textMessageService  = textMessageService;
 }
        public TextFirstPourNotificationHandler(ITapRepository tapRepository,
                                                IKegRepository kegRepository,
                                                ITextMessageService textMessageService,
                                                IEmailService emailService,
                                                IBeerRepository beerRepository)
        {
            if (tapRepository == null)
            {
                throw new ArgumentNullException("tapRepository");
            }
            if (kegRepository == null)
            {
                throw new ArgumentNullException("kegRepository");
            }
            if (textMessageService == null)
            {
                throw new ArgumentNullException("textMessageService");
            }
            if (emailService == null)
            {
                throw new ArgumentNullException("emailService");
            }
            if (beerRepository == null)
            {
                throw new ArgumentNullException("beerRepository");
            }

            _tapRepository      = tapRepository;
            _kegRepository      = kegRepository;
            _textMessageService = textMessageService;
            _emailService       = emailService;
            _beerRepository     = beerRepository;
        }
Ejemplo n.º 3
0
 /// <param name="bankService">Bank authorize service</param>
 /// <param name="transactionService">Transaction service</param>
 public EarningsService(IRepository repository, IBankService bankService, ITransactionService transactionService,
                        ICurrentUserService currentUserService, ITextMessageService textMessageService, IAppSettingsService appSettingsService) : base(repository)
 {
     _bankService        = bankService;
     _transactionService = transactionService;
     _currentUserService = currentUserService;
     _textMessageService = textMessageService;
     _appSettingsService = appSettingsService;
 }
Ejemplo n.º 4
0
 public MessageSession(
     TcpServerBase server,
     ITextMessageService messageService,
     ILogger <TcpHostedService> logger,
     IFileLogger fileLogger) : base(server)
 {
     _logger         = logger;
     _fileLogger     = fileLogger;
     _messageService = messageService;
 }
Ejemplo n.º 5
0
 public AccountService(IRepository repository, ICryptoService cryptoService, IFamilyService familyService, ICurrentUserService currentUserService, ITextMessageService textMessageService,
                       IEmailTemplateService emailTemplateService, IEmailService emailService, ISubscriptionService subscriptionService) : base(repository)
 {
     _cryptoService        = cryptoService;
     _familyService        = familyService;
     _currentUserService   = currentUserService;
     _textMessageService   = textMessageService;
     _emailTemplateService = emailTemplateService;
     _emailService         = emailService;
     _subscriptionService  = subscriptionService;
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="repository">Repository</param>
 public TransactionService(IRepository repository, IEmailTemplateService emailTemplateService,
                           IEmailService emailService, IAllocationSettingsService allocationSettingsService, IAppSettingsService appSettingsService,
                           ITextMessageService textMessageService, ICoreProService coreProService, IBankService bankService) : base(repository)
 {
     _emailTemplateService      = emailTemplateService;
     _emailService              = emailService;
     _allocationSettingsService = allocationSettingsService;
     _appSettingsService        = appSettingsService;
     _textMessageService        = textMessageService;
     _coreProService            = coreProService;
     _bankService = bankService;
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="repository">Repository</param>
 public SmsBotService(IRepository repository, IFamilyService familyService, IChoreService choreService, IAppSettingsService appSettingsService,
                      IEarningsService earningsService, IRecurringChoreService recurringChoreService,
                      ITextMessageService textMessageService, ISMSApprovalService smsApprovalService) : base(repository)
 {
     _familyService         = familyService;
     _choreService          = choreService;
     _appSettingsService    = appSettingsService;
     _earningsService       = earningsService;
     _recurringChoreService = recurringChoreService;
     _textMessageService    = textMessageService;
     _smsApprovalService    = smsApprovalService;
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="repository"></param>
 /// <param name="stockPileService"></param>
 /// <param name="currentUserService"></param>
 /// <param name="familyService"></param>
 /// <param name="textMessageService"></param>
 /// <param name="transactionService"></param>
 /// <param name="earningsService"></param>
 public SaveService(IRepository repository, IStockPileService stockPileService, ICurrentUserService currentUserService,
                    IFamilyService familyService, ITextMessageService textMessageService, IEarningsService earningsService,
                    ISMSApprovalHistory smsApprovalHistory, ITransactionService transactionService, IBankService bankService) : base(repository)
 {
     _stockPileService   = stockPileService;
     _currentUserService = currentUserService;
     _familyService      = familyService;
     _textMessageService = textMessageService;
     _earningsService    = earningsService;
     _smsApprovalHistory = smsApprovalHistory;
     _transactionService = transactionService;
     _bankService        = bankService;
 }
Ejemplo n.º 9
0
 public NotificationService(IRepository _repository, ITextMessageService textMessageService, IEmailTemplateService emailTemplateService,
                            IEmailService emailService, IEmailHistoryService emailHistoryService, ISMSApprovalHistory smsApprovalHistory,
                            IFamilyService familyService, IChoreService choreService, IEarningsService earningServices) : base(_repository)
 {
     _textMessageService   = textMessageService;
     _emailTemplateService = emailTemplateService;
     _emailService         = emailService;
     _emailHistoryService  = emailHistoryService;
     _smsApprovalHistory   = smsApprovalHistory;
     _familyService        = familyService;
     _choreService         = choreService;
     _earningServices      = earningServices;
 }
 public RememberWhenApplicationService(
     IParameterManagementService parameterManagementService,
     IEnvironmentManagementService environmentService,
     IMemoryService memoryService,
     IEmailService emailService,
     ITextMessageService textMessageService)
 {
     _environmentService         = environmentService;
     _parameterManagementService = parameterManagementService;
     _memoryService      = memoryService;
     _emailService       = emailService;
     _textMessageService = textMessageService;
 }
Ejemplo n.º 11
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="repository">Repository</param>
 public SpendService(IRepository repository, IGyftService gyftService, ICurrentUserService currentUserService,
                     IFamilyService familyService, IEarningsService earningsService, ITextMessageService textMessageService,
                     ITransactionService transactionService, IBankService bankService, ISMSApprovalHistory smsApprovalHistory) : base(repository)
 {
     _gyftService        = gyftService;
     _currentUserService = currentUserService;
     _familyService      = familyService;
     _earningsService    = earningsService;
     _textMessageService = textMessageService;
     _transactionService = transactionService;
     _bankService        = bankService;
     _smsApprovalHistory = smsApprovalHistory;
 }
Ejemplo n.º 12
0
 public CharityService(IRepository repository, ICurrentUserService currentUserService, ITransactionService transactionService,
                       IEarningsService earningsService, IBankService bankService, ITextMessageService textMessageService,
                       IAppSettingsService appSettingsService, ISMSApprovalHistory smsApprovalHistory, IFamilyService familyService) : base(repository)
 {
     _currentUserService = currentUserService;
     _transactionService = transactionService;
     _earningsService    = earningsService;
     _bankService        = bankService;
     _textMessageService = textMessageService;
     _appSettingsService = appSettingsService;
     _smsApprovalHistory = smsApprovalHistory;
     _familyService      = familyService;
 }
 public ImportDataService(
     BatonRougeBusinessFinderDbContext context,
     IEmailService emailService,
     ITextMessageService textMessageService,
     IRegisteredBusinessRepository registeredBusinessRepository,
     ILogger <ImportDataService> logger
     )
     : base(context)
 {
     EmailService                 = emailService;
     TextMessageService           = textMessageService;
     RegisteredBusinessRepository = registeredBusinessRepository;
     Logger = logger;
 }
Ejemplo n.º 14
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="repository">Repository</param>
 /// <param name="cryptoService">Crypto service</param>
 /// <param name="storageService">Storage service</param>
 /// <param name="allocationSettingsService">Allocation settings service</param>
 /// <param name="currentUserService">Current user service</param>
 /// <param name="SignUp progress service">Sign up progress service</param>
 public FamilyService(IRepository repository, ICryptoService cryptoService, IStorageService storageService, IAllocationSettingsService allocationSettingsService,
                      ICurrentUserService currentUserService, IEarningsService earningsService, IAppSettingsService appSettingsService, ITextMessageService textMessageService,
                      IEmailTemplateService emailTemplateService, IEmailService emailService, IEmailHistoryService emailHistoryService,
                      ISignUpProgressService signUpProgressService, ITransactionService transactionService, IBankService bankService, ICoreProService CoreProService) : base(repository)
 {
     _cryptoService             = cryptoService;
     _storageService            = storageService;
     _allocationSettingsService = allocationSettingsService;
     _currentUserService        = currentUserService;
     _earningsService           = earningsService;
     _appSettingsService        = appSettingsService;
     _textMessageService        = textMessageService;
     _emailTemplateService      = emailTemplateService;
     _emailService          = emailService;
     _emailHistoryService   = emailHistoryService;
     _signUpProgressService = signUpProgressService;
     _transactionService    = transactionService;
     _bankService           = bankService;
     _coreproservice        = CoreProService;
 }
Ejemplo n.º 15
0
        protected override TcpSessionBase CreateSession()
        {
            ITextMessageService messageService = _serviceProvider.GetService <ITextMessageService>();

            return(new MessageSession(this, messageService, _logger, _fileLogger));
        }
 public SendMessageService(IRepository repository, ICurrentUserService currentUserService, ITextMessageService textMessageService, ISendMessageService SendMessageService) : base(repository)
 {
     _textMessageService  = textMessageService;
     _currentUserService  = currentUserService;
     _ISendMessageService = SendMessageService;
 }
 public SMSApprovalHistory(IRepository repository, ITextMessageService textMessageService) : base(repository)
 {
     _textMessageService = textMessageService;
 }
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="repository">Repository</param>
 /// <param name="currentUserService">Current user service</param>
 /// <param name="textMessageService">Text message service</param>
 public InvitationService(IRepository repository, ICurrentUserService currentUserService, ITextMessageService textMessageService, IAppSettingsService appSettingsService) : base(repository)
 {
     _currentUserService = currentUserService;
     _textMessageService = textMessageService;
     _appSettingsService = appSettingsService;
 }