public SendService(AppCore.IOC.IContainer container
                    , Core.IEventLogger logger
                    , Core.DataSource.IAccountDataSource accountDataSource
                    , Core.DataSource.IConfigDataSource configDataSource
                    , Core.DataSource.IMailDataSource messageDataSource
                    , Core.DataSource.ISendTryDataSource sendTryDataSource
                    , Core.Mail.IOutgoingService mailOutgoingService
                    , Core.Service.IQueueService queueService)
     : base(container)
 {
     _logger              = logger;
     _queueService        = queueService;
     _accountDataSource   = accountDataSource;
     _configDataSource    = configDataSource;
     _messageDataSource   = messageDataSource;
     _mailOutgoingService = mailOutgoingService;
     _sendTryDataSource   = sendTryDataSource;
 }
Exemplo n.º 2
0
 public SendService(AppCore.IOC.IContainer container
                    , Core.IEventLogger logger
                    , Core.DataSource.IAccountDataSource accountDataSource
                    , Core.DataSource.IConfigDataSource configDataSource
                    , Core.DataSource.IMessageDataSource messageDataSource
                    , Core.DataSource.ISendTryDataSource sendTryDataSource
                    , Core.SmsProvider.IOutgoingService outgoingService
                    , Core.Service.ICredentialService credentialService
                    , Core.Service.IQueueService queueService)
     : base(container)
 {
     _logger            = logger;
     _accountDataSource = accountDataSource;
     _configDataSource  = configDataSource;
     _messageDataSource = messageDataSource;
     _outgoingService   = outgoingService;
     _sendTryDataSource = sendTryDataSource;
     _credentialService = credentialService;
     _queueService      = queueService;
 }