public HandleSendEmailWithResults(IBusAdapter bus, IMailMessageService mailMessageService, IMailSender mailSender, IAppSettings appSettings)
 {
     _bus = bus;
     _mailMessageService = mailMessageService;
     _mailSender         = mailSender;
     _appSettings        = appSettings;
 }
Пример #2
0
 public HandleSendEmailConfirmingUpload(IBusAdapter bus, IMailMessageService mailMessageService, IMailSender mailSender, IAppSettings appSettings)
 {
     _bus = bus;
     _mailMessageService = mailMessageService;
     _mailSender         = mailSender;
     _appSettings        = appSettings;
 }
Пример #3
0
        public Bus(IBusAdapter busAdapter)
        {
            Contract.Requires<ArgumentNullException>(busAdapter != null);

            this.busAdapter = busAdapter;
            this.channels = new ConcurrentDictionary<string, IChannel>();
            this.generalChannel = this.busAdapter.CreateChannel(string.Empty);
        }
Пример #4
0
        public Bus(IBusAdapter busAdapter)
        {
            Contract.Requires <ArgumentNullException>(busAdapter != null);

            this.busAdapter     = busAdapter;
            this.channels       = new ConcurrentDictionary <string, IChannel>();
            this.generalChannel = this.busAdapter.CreateChannel(string.Empty);
        }
Пример #5
0
 public MessageProcessor(
     ISession session,
     IBusAdapter busAdapter,
     PublishMessageContext entry,
     ILogger <MessageProcessor> logger)
 {
     _session    = session;
     _busAdapter = busAdapter;
     _entry      = entry;
     _logger     = logger;
 }
Пример #6
0
 public Worker(IBusAdapter bus, IAppSettings appSettings,
               IHandleSendEmailConfirmingUpload handleSendEmailConfirmingUpload,
               IHandleProcessUploadedFileThroughR handleProcessUploadedFileThroughR,
               IHandleSendEmailWithResults handleSendEmailWithResults,
               IHandleUpdateSubscriptionDatabase handleUpdateSubscriptionDatabase)
 {
     _bus         = bus;
     _appSettings = appSettings;
     _handleSendEmailConfirmingUpload   = handleSendEmailConfirmingUpload;
     _handleProcessUploadedFileThroughR = handleProcessUploadedFileThroughR;
     _handleSendEmailWithResults        = handleSendEmailWithResults;
     _handleUpdateSubscriptionDatabase  = handleUpdateSubscriptionDatabase;
 }
 public HandleProcessUploadedFileThroughR(IBusAdapter bus, IAppSettings appSettings, IRadapter radapter)
 {
     _radapter    = radapter;
     _appSettings = appSettings;
     _bus         = bus;
 }