public HandleSendEmailWithResults(IBusAdapter bus, IMailMessageService mailMessageService, IMailSender mailSender, IAppSettings appSettings)
 {
     _bus = bus;
     _mailMessageService = mailMessageService;
     _mailSender         = mailSender;
     _appSettings        = appSettings;
 }
Exemple #2
0
 public HandleSendEmailConfirmingUpload(IBusAdapter bus, IMailMessageService mailMessageService, IMailSender mailSender, IAppSettings appSettings)
 {
     _bus = bus;
     _mailMessageService = mailMessageService;
     _mailSender         = mailSender;
     _appSettings        = appSettings;
 }
Exemple #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);
        }
Exemple #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);
        }
 public MessageProcessor(
     ISession session,
     IBusAdapter busAdapter,
     PublishMessageContext entry,
     ILogger <MessageProcessor> logger)
 {
     _session    = session;
     _busAdapter = busAdapter;
     _entry      = entry;
     _logger     = logger;
 }
 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;
 }