public EmailAccountController(IEmailAccountService emailAccountService,
     ILocalizationService localizationService, ISettingService settingService,
     IEmailSender emailSender,
     EmailAccountSettings emailAccountSettings, WebInformationSettings webSettings,
     IPermissionService permissionService)
 {
     this._emailAccountService = emailAccountService;
     this._localizationService = localizationService;
     this._emailAccountSettings = emailAccountSettings;
     this._emailSender = emailSender;
     this._settingService = settingService;
     this._webSettings = webSettings;
     this._permissionService = permissionService;
 }
 public MessageTemplateController(IMessageTemplateService messageTemplateService,
     IEmailAccountService emailAccountService, ILanguageService languageService,
     ILocalizedEntityService localizedEntityService,
     ILocalizationService localizationService, IMessageTokenProvider messageTokenProvider,
     IPermissionService permissionService, EmailAccountSettings emailAccountSettings)
 {
     this._messageTemplateService = messageTemplateService;
     this._emailAccountService = emailAccountService;
     this._languageService = languageService;
     this._localizedEntityService = localizedEntityService;
     this._localizationService = localizationService;
     this._messageTokenProvider = messageTokenProvider;
     this._permissionService = permissionService;
     this._emailAccountSettings = emailAccountSettings;
 }
 public WorkflowMessageService(IMessageTemplateService messageTemplateService,
     IQueuedEmailService queuedEmailService,
     ILanguageService languageService,
     IEmailAccountService emailAccountService,
     EmailAccountSettings emailAccountSettings,
     ITokenizer tokenizer,
     IMessageTokenProvider messageTokenProvider)
 {
     _messageTemplateService = messageTemplateService;
     _queuedEmailService = queuedEmailService;
     _languageService = languageService;
     _emailAccountService = emailAccountService;
     _emailAccountSettings = emailAccountSettings;
     _tokenizer = tokenizer;
     _messageTokenProvider = messageTokenProvider;
 }
예제 #4
0
        public MessageTokenProvider(ILanguageService languageService,
            ILocalizationService localizationService,
            IDateTimeHelper dateTimeHelper,
            IEmailAccountService emailAccountService,
            IWebHelper webHelper,
            ICurrentActivity currentActivity,
            MessageTemplatesSettings templatesSettings,
            EmailAccountSettings emailAccountSettings,
            WebInformationSettings webSettings)
        {
            this._languageService = languageService;
            this._localizationService = localizationService;
            this._dateTimeHelper = dateTimeHelper;
            this._emailAccountService = emailAccountService;
            this._webHelper = webHelper;
            this._currentActivity = currentActivity;

            this._webSettings = webSettings;
            this._templatesSettings = templatesSettings;
            this._emailAccountSettings = emailAccountSettings;
        }
예제 #5
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="emailAccountRepository">Email account repository</param>
 /// <param name="emailAccountSettings"></param>
 /// <param name="eventPublisher">Event published</param>
 public EmailAccountService(IRepository<EmailAccount> emailAccountRepository,
     EmailAccountSettings emailAccountSettings)
 {
     _emailAccountRepository = emailAccountRepository;
     _emailAccountSettings = emailAccountSettings;
 }