/// <summary> /// ctor the Mighty /// </summary> public ContactFormEmailMessage(IWebSettings webSettings, IUserHostAddressResolver userHostAddressResolver) { WebSettings = webSettings; this.UserHostAddressResolver = userHostAddressResolver; this.SenderAddress = webSettings.SenderAddress; this.Subject = "Brewgr.com Contact Form"; this.FormatAsHtml = false; webSettings.ContactFormEmailAddress.ForEach(this.ToRecipients.Add); }
/// <summary> /// ctor the Mighty /// </summary> public ContactFormEmailMessage(IWebSettings webSettings, IUserHostAddressResolver userHostAddressResolver) { WebSettings = webSettings; this.UserHostAddressResolver = userHostAddressResolver; this.SenderAddress = webSettings.SenderAddress; this.Subject = "Brewgr.com Contact Form"; this.FormatAsHtml = false; webSettings.ContactFormEmailAddress.ForEach(this.ToRecipients.Add); }
/// <summary> /// ctor the Mighty /// </summary> public DefaultEmailMessageFactory(IWebSettings webSettings, IUserHostAddressResolver userHostAddressResolver) { this.WebSettings = webSettings; this.UserHostAddressResolver = userHostAddressResolver; }
/// <summary> /// ctor the Mighty /// </summary> public DefaultMarketingService(IBrewgrRepository repository, IUserResolver userResolver, IUserHostAddressResolver userHostAddressResolver) { this.Repository = repository; this.UserResolver = userResolver; this.UserHostAddressResolver = userHostAddressResolver; }
/// <summary> /// ctor the Mighty /// </summary> public DefaultMarketingService(IBrewgrRepository repository, IUserResolver userResolver, IUserHostAddressResolver userHostAddressResolver) { this.Repository = repository; this.UserResolver = userResolver; this.UserHostAddressResolver = userHostAddressResolver; }
/// <summary> /// ctor the Mighty /// </summary> public DefaultEmailMessageFactory(IWebSettings webSettings, IUserHostAddressResolver userHostAddressResolver) { this.WebSettings = webSettings; this.UserHostAddressResolver = userHostAddressResolver; }