/// <summary> /// Конструктор. /// </summary> /// <param name="emailNotifier">Оповещатель email.</param> /// <param name="logger">Для логирования событий.</param> /// <param name="emailMessageFactory"><see cref="IEmailMessageFactory"/>.</param> public EmailNotificationHandler( IEmailNotifier emailNotifier, ILogger <EmailNotificationHandler> logger, IEmailMessageFactory emailMessageFactory ) { this.emailNotifier = emailNotifier; this.logger = logger; this.emailMessageFactory = emailMessageFactory; }
/// <summary> /// ctor the Mighty /// </summary> public AuthController(IUnitOfWorkFactory<BrewgrContext> unitOfWorkFactory, IUserLoginService userLoginService, IAuthenticationService authService, IUserResolver userResolver, IOAuthService oAuthService, IUserService userService, IFacebookConnectSettings facebookConnectSettings, IEmailSender emailSender, IEmailMessageFactory emailMessageFactory) { this.UnitOfWorkFactory = unitOfWorkFactory; this.UserLoginService = userLoginService; this.AuthenticationService = authService; this.UserResolver = userResolver; this.OAuthService = oAuthService; this.UserService = userService; this.FacebookConnectSettings = facebookConnectSettings; this.EmailSender = emailSender; this.EmailMessageFactory = emailMessageFactory; }
/// <summary> /// ctor the Mighty /// </summary> public AuthController(IUnitOfWorkFactory <BrewgrContext> unitOfWorkFactory, IUserLoginService userLoginService, IAuthenticationService authService, IUserResolver userResolver, IOAuthService oAuthService, IUserService userService, IFacebookConnectSettings facebookConnectSettings, IEmailSender emailSender, IEmailMessageFactory emailMessageFactory) { this.UnitOfWorkFactory = unitOfWorkFactory; this.UserLoginService = userLoginService; this.AuthenticationService = authService; this.UserResolver = userResolver; this.OAuthService = oAuthService; this.UserService = userService; this.FacebookConnectSettings = facebookConnectSettings; this.EmailSender = emailSender; this.EmailMessageFactory = emailMessageFactory; }
/// <summary> /// ctor the Mighty /// </summary> public RootController(IUnitOfWorkFactory <BrewgrContext> unitOfWorkFactory, IUserLoginService userLoginService, IAuthenticationService authService, IUserResolver userResolver, IOAuthService oAuthService, IUserService userService, ISearchService searchService, IFacebookConnectSettings facebookConnectSettings, IMarketingService marketingService, IRecipeService recipeService, IEmailMessageFactory emailMessageFactory, IEmailSender emailSender, ISeoSitemap seoSitemap) { this.UnitOfWorkFactory = unitOfWorkFactory; this.UserLoginService = userLoginService; this.AuthService = authService; this.UserResolver = userResolver; this.OAuthService = oAuthService; this.UserService = userService; this.SearchService = searchService; this.FacebookConnectSettings = facebookConnectSettings; this.MarketingService = marketingService; this.RecipeService = recipeService; this.EmailMessageFactory = emailMessageFactory; this.EmailSender = emailSender; this.SeoSitemap = seoSitemap; }
/// <summary> /// ctor the Mighty /// </summary> public RootController(IUnitOfWorkFactory<BrewgrContext> unitOfWorkFactory, IUserLoginService userLoginService, IAuthenticationService authService, IUserResolver userResolver, IOAuthService oAuthService, IUserService userService, ISearchService searchService, IFacebookConnectSettings facebookConnectSettings, IMarketingService marketingService, IRecipeService recipeService, IEmailMessageFactory emailMessageFactory, IEmailSender emailSender, ISeoSitemap seoSitemap) { this.UnitOfWorkFactory = unitOfWorkFactory; this.UserLoginService = userLoginService; this.AuthService = authService; this.UserResolver = userResolver; this.OAuthService = oAuthService; this.UserService = userService; this.SearchService = searchService; this.FacebookConnectSettings = facebookConnectSettings; this.MarketingService = marketingService; this.RecipeService = recipeService; this.EmailMessageFactory = emailMessageFactory; this.EmailSender = emailSender; this.SeoSitemap = seoSitemap; }
public NotificationProvider(IEmailService emailService, IEmailMessageFactory factory, IUserRepository userRepository) { _emailService = emailService; _factory = factory; _userRepository = userRepository; }