public ContactFormService( IEnumerable <IProcessContactForm> messageProcessors, IContactFormResolver contactFormResolver, IRecaptchaKeysProvider recaptchaKeysProvider, ILogger <ContactFormService> logger ) { _contactFormResolver = contactFormResolver; _recaptchaKeys = recaptchaKeysProvider; _messageProcessors = messageProcessors; _log = logger; }
public SmtpMessageProcessor( ViewRenderer viewRenderer, IContactFormResolver contactFormResolver, ISmtpOptionsProvider smtpOptionsProvider, IOptions <SmtpMessageProcessorOptions> messageProcessorOptionsAccessor, ILogger <SmtpMessageProcessor> logger ) { this.viewRenderer = viewRenderer; this.smtpOptionsProvider = smtpOptionsProvider; this.contactFormResolver = contactFormResolver; messageProcessorOptions = messageProcessorOptionsAccessor.Value; log = logger; }
public ContactFormService( IEnumerable <IProcessMessages> messageProcessors, IContactFormResolver contactFormResolver, ISmtpOptionsProvider smtpOptionsProvider, IRecaptchaKeysProvider recaptchaKeysProvider, ILogger <ContactFormService> logger ) { this.contactFormResolver = contactFormResolver; recaptchaKeys = recaptchaKeysProvider; this.messageProcessors = messageProcessors; this.smtpOptionsProvider = smtpOptionsProvider; log = logger; }
public ContactFormProcessor( ViewRenderer viewRenderer, ITenantResolver tenantResolver, IEmailSenderResolver emailSenderResolver, IContactFormResolver contactFormResolver, IOptions <ContactFormMessageOptions> messageProcessorOptionsAccessor, ILogger <ContactFormProcessor> logger ) { _viewRenderer = viewRenderer; _tenantResolver = tenantResolver; _emailSenderResolver = emailSenderResolver; _contactFormResolver = contactFormResolver; _messageProcessorOptions = messageProcessorOptionsAccessor.Value; _log = logger; }