예제 #1
0
 public EmailAccountService(
     SmartDbContext db,
     EmailAccountSettings emailAccountSettings)
 {
     _db = db;
     _emailAccountSettings = emailAccountSettings;
 }
예제 #2
0
 public MessageFactory(
     SmartDbContext db,
     ICommonServices services,
     ITemplateEngine templateEngine,
     ITemplateManager templateManager,
     IMessageModelProvider modelProvider,
     IQueuedEmailService queuedEmailService,
     ILanguageService languageService,
     IEmailAccountService emailAccountService,
     EmailAccountSettings emailAccountSettings,
     IMediaService mediaService,
     IEventPublisher eventPublisher,
     IStoreContext storeContext,
     IWorkContext workContext)
 {
     _db                   = db;
     _services             = services;
     _templateEngine       = templateEngine;
     _templateManager      = templateManager;
     _modelProvider        = modelProvider;
     _queuedEmailService   = queuedEmailService;
     _languageService      = languageService;
     _emailAccountService  = emailAccountService;
     _emailAccountSettings = emailAccountSettings;
     _mediaService         = mediaService;
     _eventPublisher       = eventPublisher;
     _storeContext         = storeContext;
     _workContext          = workContext;
 }
예제 #3
0
 public QueuedEmailService(
     SmartDbContext db,
     IMailService mailService,
     IMediaService mediaService,
     EmailAccountSettings emailAccountSettings)
 {
     _db                   = db;
     _mailService          = mailService;
     _mediaService         = mediaService;
     _emailAccountSettings = emailAccountSettings;
 }