コード例 #1
0
 public EmailService(IEmailLog emailLog, INotificationQueue queue, IUnitOfWork unitOfWork, OmnitureConfiguration config,
                     OmnitureNotificationContext context)
 {
     _emailLog   = emailLog;
     _queue      = queue;
     _unitOfWork = unitOfWork;
     _config     = config;
     _context    = context;
 }
コード例 #2
0
 public TemplateGenerator(Func <NotificationTypes, ITemplates> templateSelectors,
                          IMessageTemplate notificationtemplate,
                          Func <string, IMessageData> dataHandler,
                          OmnitureConfiguration config)
 {
     _templateSelectors    = templateSelectors;
     _notificationtemplate = notificationtemplate;
     _config      = config;
     _dataHandler = dataHandler;
 }
コード例 #3
0
 public Notifier(ITemplateGenerator templateGenerator,
                 OmnitureNotificationContext context,
                 Func <NotificationTypes, INotificationHandler> notificationHandlers,
                 INotificationQueue notificationQueue,
                 OmnitureConfiguration config)
 {
     _templateGenerator    = templateGenerator;
     _context              = context;
     _config               = config;
     _notificationHandlers = notificationHandlers;
     _notificationQueue    = notificationQueue;
 }