Пример #1
0
 public LoginController(IWebSecurityService userService, IOrganizationService organizationService, IWorkflowInstanceService workflowInstanceService, IEmailHelper emailHelper)
 {
     this.userService = userService;
     this.organizationService = organizationService;
     this.workflowInstanceService = workflowInstanceService;
     this.emailHelper = emailHelper;
 }
Пример #2
0
 public EmailsService(IOptions <EnvironmentConfig> environmentConfig, ICipherService cipherService, IEmailHelper emailhelper, IEmailsValidation emailsValidation)
 {
     _environmentConfig = environmentConfig.Value;
     _cipherService     = cipherService;
     _emailhelper       = emailhelper;
     _emailsValidation  = emailsValidation;
 }
Пример #3
0
 public AuthBasicController(UserManager <User> userManager, SignInManager <User> signInManager,
                            IJwtFactory jwtFactory, IEmailHelper emailHelper)
 {
     EmailHelper   = emailHelper;
     SignInManager = signInManager;
     _jwtFactory   = jwtFactory;
 }
Пример #4
0
 public QuoteEmailService(EmailFactory emailFactory, ApplicationSettings settings,IUnitOfWork unitOfWork,IEmailHelper emailHelper)
 {
     _emailFactory = emailFactory;
     _settings = settings;
     _unitOfWork = unitOfWork;
     _emailHelper = emailHelper;
 }
Пример #5
0
        public RecentChangeHandler(
            IAppConfiguration appConfig,
            ILogger logger,
            IChannelConfiguration channelConfig,
            IBotUserConfiguration botUserConfiguration,
            IIrcClient freenodeClient,
            IEmailHelper emailHelper,
            INotificationTemplates templates,
            IEmailTemplateFormatter emailTemplateFormatter,
            ISubscriptionHelper subscriptionHelper)
        {
            this.appConfig              = appConfig;
            this.logger                 = logger;
            this.channelConfig          = channelConfig;
            this.botUserConfiguration   = botUserConfiguration;
            this.freenodeClient         = freenodeClient;
            this.emailHelper            = emailHelper;
            this.templates              = templates;
            this.emailTemplateFormatter = emailTemplateFormatter;
            this.subscriptionHelper     = subscriptionHelper;

            if (this.appConfig.EmailConfiguration == null)
            {
                this.logger.Warn("Not sending email; email configuration is disabled");
            }
        }
Пример #6
0
 public AccountController(IWebSecurityService userService, IPersonService personService, IEmailHelper emailHelper, IAccountService accountService)
 {
     this.userService    = userService;
     this.personService  = personService;
     this.emailHelper    = emailHelper;
     this.accountService = accountService;
 }
Пример #7
0
 public AccountController(IWebSecurityService userService, IPersonService personService, IEmailHelper emailHelper, IAccountService accountService)
 {
     this.userService = userService;
     this.personService = personService;
     this.emailHelper = emailHelper;
     this.accountService = accountService;
 }
 public EmailVerificationService(IEmailHelper emailHelper, IRandomNumberProvider randomNumberProvider, IVerificationCodeDataStore verificationCodesDataStore, IUserRepository userRepository) : base(userRepository)
 {
     _emailHelper               = emailHelper;
     _randomNumberProvider      = randomNumberProvider;
     _verificationCodeDataStore = verificationCodesDataStore;
     _userRepository            = userRepository;
 }
Пример #9
0
 public TransactionController(RetreatDBContext context, IOptions <PaystackConfig> paystackConfig, IRetreatEmailSender emailSender, IEmailHelper emailHelper)
 {
     _context     = context;
     _config      = paystackConfig?.Value;
     _emailSender = emailSender;
     _emailHelper = emailHelper;
 }
Пример #10
0
 public AthleteController(UserManager <ApplicationUser> userManager, ILogger <ClientController> logger, IEmailHelper emailSender, IClientService clientService)
 {
     _userManager   = userManager;
     _logger        = logger;
     _emailSender   = emailSender;
     _clientService = clientService;
 }
Пример #11
0
 public TokenController(IConfiguration config, PersonRepository personRepository, IEmailHelper emailHelper, ITokenClass tokenClass)
 {
     _config           = config;
     _personRepository = personRepository;
     _emailHelper      = emailHelper;
     _tokenClass       = tokenClass;
 }
Пример #12
0
 public DataProcessor(IApiHelper apiHelper, IConfigurationHelper configurationHelper, IEmailHelper emailHelper, IDataHelper dataHelper)
 {
     _apiHelper           = apiHelper;
     _configurationHelper = configurationHelper;
     _emailHelper         = emailHelper;
     _dataHelper          = dataHelper;
 }
Пример #13
0
 public AccountCommand(string commandSource,
                       IUser user,
                       IList <string> arguments,
                       ILogger logger,
                       IFlagService flagService,
                       IConfigurationProvider configurationProvider,
                       IIrcClient client,
                       IBotUserConfiguration botUserConfiguration,
                       IEmailHelper emailHelper,
                       IAppConfiguration config,
                       INotificationTemplates templates,
                       IChannelConfiguration channelConfiguration) : base(
         commandSource,
         user,
         arguments,
         logger,
         flagService,
         configurationProvider,
         client)
 {
     this.appConfig            = config;
     this.templates            = templates;
     this.channelConfiguration = channelConfiguration;
     this.botUserConfiguration = botUserConfiguration;
     this.emailHelper          = emailHelper;
 }
Пример #14
0
 public PersonController(PersonRepository personRepository, IMapper mapper, IEmailHelper emailHelper, ITokenClass tokenClass)
 {
     _personRepository = personRepository;
     _mapper = mapper;
     _emailHelper = emailHelper;
     _tokenClass = tokenClass;
 }
Пример #15
0
 public ContactController(IMessageRepository messageRepository, IValidationHelper validationHelper,
                          IEmailHelper emailHelper)
 {
     _messageRepository = messageRepository;
     _validationHelper  = validationHelper;
     _emailHelper       = emailHelper;
 }
Пример #16
0
 public LoginController(IWebSecurityService userService, IOrganizationService organizationService, IWorkflowInstanceService workflowInstanceService, IEmailHelper emailHelper)
 {
     this.userService             = userService;
     this.organizationService     = organizationService;
     this.workflowInstanceService = workflowInstanceService;
     this.emailHelper             = emailHelper;
 }
Пример #17
0
 public OrgsByCategoryController(IOrganizationService organizationService, IWebSecurityService securityService, IEmailHelper emailHelper, IRegistrationService registrationService)
 {
     this.organizationService = organizationService;
     this.webSecurityService  = securityService;
     this.emailHelper         = emailHelper;
     this.registrationService = registrationService;
 }
Пример #18
0
 public OrderReceivedEventHandler(
     IEmailHelper emailHelper,
     ILoggerFactory loggerFactory)
 {
     _emailHelper = emailHelper;
     _logger      = loggerFactory.CreateLogger <OrderReceivedEventHandler>();
 }
 public OrgsByCategoryController(IOrganizationService organizationService, IWebSecurityService securityService, IEmailHelper emailHelper, IRegistrationService registrationService)
 {
     this.organizationService = organizationService;
     this.webSecurityService = securityService;
     this.emailHelper = emailHelper;
     this.registrationService = registrationService;
 }
Пример #20
0
 internal TelesaleCallProvider(IUnitOfWork unitOfWork,
     Telesale telesale,
     IEmailHelper emailHelper)
     : base(unitOfWork, emailHelper)
 {
     Telesale = telesale;
     DefaultActions = InitDefaultActions();
 }
Пример #21
0
 public UserController(IUserProvider userProvider, IOTPProvider oTPProvider, IEmailHelper emailHelper, IJWTTokenHelper tokenHelper, IEncryptDecryptHelper encryptDecryptHelper)
 {
     _userProvider         = userProvider;
     _OTPProvider          = oTPProvider;
     _IEmailHelper         = emailHelper;
     _IJWTTokenHelper      = tokenHelper;
     _encryptDecryptHelper = encryptDecryptHelper;
 }
Пример #22
0
 public MailTemplateRepository(
     IConfiguration configuration, IDocMenuB1Repository DocMenuB1Repository, IEmailHelper EmailHelper)
 {
     _configuration = configuration;
     ConnectionString = Encoding.UTF8.GetString(Convert.FromBase64String(_configuration.GetConnectionString("SqlConnection")));
     _IDocMenuB1Repository = DocMenuB1Repository;
     _EmailHelper = EmailHelper;
 }
Пример #23
0
 public AppObjectInfoMapDC(ISupplierDbContext supplierDbContext, ISupplierRepository supplierRepository, IEmailHelper emailHelper, IUploadedFileRepository uploadedFileRepository, IPurchaseRequsitionRepository purchaseRequsitionRepository)
 {
     _supplierDbContext            = supplierDbContext;
     _supplierRepository           = supplierRepository;
     _emailHelper                  = emailHelper;
     _uploadedFileRepository       = uploadedFileRepository;
     _purchaseRequsitionRepository = purchaseRequsitionRepository;
 }
Пример #24
0
 public HelpersManager(IEmailHelper emailHelper, IEnvironmentHelper environmentHelper, IHttpHelper httpHelper, ILoggerWrapper loggerWrapper, ICacheHelper cacheHelper)
 {
     EmailHelper       = emailHelper;
     EnvironmentHelper = environmentHelper;
     HttpHelper        = httpHelper;
     Log   = loggerWrapper;
     Cache = cacheHelper;
 }
 public EmailManager(IEmailHelper emailHelper, IConfiguration configuration, ISmtpEmailService smtpEmailService,
                     ISendGridEmailService sendGridEmailService)
 {
     _emailHelper          = emailHelper;
     _configuration        = configuration;
     _smtpEmailService     = smtpEmailService;
     _sendGridEmailService = sendGridEmailService;
 }
Пример #26
0
 public OrderService(IOrderRepository orderRepository, IBeerRepository beerRepository, ICustomerRepository customerRepository, IValidator validator, IEmailHelper emailHelper)
 {
     this.OrderRepository    = orderRepository ?? throw new NullReferenceException("Repository can't be null");
     this.BeerRepository     = beerRepository ?? throw new NullReferenceException("Repository can't be null");
     this.CustomerRepository = customerRepository ?? throw new NullReferenceException("Repository can't be null");
     this.Validator          = validator ?? throw new NullReferenceException("Validator can't be null");
     this.EmailHelper        = emailHelper ?? throw new NullReferenceException("Email helper can't be null");
 }
Пример #27
0
 public CustomerController(ISubscriptionService subscriptionService, IOrganizationService organizationService, IWebSecurityService securityService, IEmailHelper emailHelper)
     : base(subscriptionService, organizationService, securityService)
 {
     this.subscriptionService = subscriptionService;
     this.organizationService = organizationService;
     this.webSecurityService = securityService;
     this.emailHelper = emailHelper;
 }
Пример #28
0
 public BookingsController(RetreatDBContext context,
                           IEmailHelper emailHelper, IBookingsService bookingsService)
 {
     _context         = context;
     _emailHelper     = emailHelper;
     _bookingsService = bookingsService;
     _dataTableHelper = new DataTableHelper(context);
 }
Пример #29
0
 public InvoiceController(ISubscriptionService subscriptionService, IOrganizationService organizationService, IWebSecurityService securityService, IEmailHelper emailHelper)
     : base(subscriptionService, organizationService, securityService)
 {
     this.subscriptionService = subscriptionService;
     this.organizationService = organizationService;
     this.webSecurityService  = securityService;
     this.emailHelper         = emailHelper;
 }
Пример #30
0
 public AccountController(IUserHelper userHelper, ICountryRepository countryRepository,
                          IConfiguration configuration, IEmailHelper emailHelper)
 {
     this.userHelper        = userHelper;
     this.countryRepository = countryRepository;
     this.configuration     = configuration;
     this.emailHelper       = emailHelper;
 }
 public HousekeeperService(IHouseKeeperRepository houseKeeperRepository, IEmailHelper emailHelper, IStatementHelper statementHelper,
                           IXtraMessageBox xtraMessageBox)
 {
     _houseKeeperRepository = houseKeeperRepository;
     _emailHelper           = emailHelper;
     _statementHelper       = statementHelper;
     _xtraMessageBox        = xtraMessageBox;
 }
 public TeamService(ITeamRepository repository, ITokenFactory tokenFactory,
                    IEmailHelper emailHelper, IParticipantService participantService)
 {
     _repository         = repository;
     _tokenFactory       = tokenFactory;
     _emailHelper        = emailHelper;
     _participantService = participantService;
 }
Пример #33
0
 public EmailManager(IHostingEnvironment hostingEnvironment, IConfiguration configuration, IEmailHelper emailHelper, IRequestRepository requestRepository, IBlobHelper blobHelper)
 {
     _learningOPMEmail   = configuration["AppSettings:LearningOPMEmail"];
     _emailHelper        = emailHelper;
     _requestRepository  = requestRepository;
     _blobHelper         = blobHelper;
     _hostingEnvironment = hostingEnvironment;
 }
Пример #34
0
 public AccountController(IUserHelper userHelper, DataContext context, ICombosHelper combosHelper, IBlobHelper blobHelper,
                          IEmailHelper emailHelper)
 {
     _userHelper   = userHelper;
     _combosHelper = combosHelper;
     _blobHelper   = blobHelper;
     _emailHelper  = emailHelper;
     _context      = context;
 }
Пример #35
0
 public EmailSettingsService(PrivilegesManager privilegesManager, IUserRepository userRepository, IEmailHelper emailHelper, IWebsiteAddressService websiteAddressService, IInstanceSettingsRepository instanceSettingsRepository, IIncomingEmailService incomingEmailService)
 {
     _privilegesManager          = privilegesManager;
     _userRepository             = userRepository;
     _emailHelper                = emailHelper;
     _websiteAddressService      = websiteAddressService;
     _instanceSettingsRepository = instanceSettingsRepository;
     _incomingEmailService       = incomingEmailService;
 }
Пример #36
0
 public OrganizationController(IOrganizationService organizationService, IWebSecurityService securityService, IEmailHelper emailHelper, IRegistrationService registrationService, IWorkflowInstanceService workflowInstanceService, IWorkflowService workflowService)
 {
     this.organizationService     = organizationService;
     this.webSecurityService      = securityService;
     this.emailHelper             = emailHelper;
     this.registrationService     = registrationService;
     this.workflowInstanceService = workflowInstanceService;
     this.workflowService         = workflowService;
 }
 public OrganizationController(IOrganizationService organizationService, IWebSecurityService securityService, IEmailHelper emailHelper, IRegistrationService registrationService, IWorkflowInstanceService workflowInstanceService, IWorkflowService workflowService)
 {
     this.organizationService = organizationService;
     this.webSecurityService = securityService;
     this.emailHelper = emailHelper;
     this.registrationService = registrationService;
     this.workflowInstanceService = workflowInstanceService;
     this.workflowService = workflowService;
 }
Пример #38
0
 public OrganizationService(IUnitOfWork unitOfWork, IOrganizationRepository organizationRepository, IPersonService personService, IWebSecurityService userService, IEmailHelper emailHelper, ILocationRepository locationRepository, ISubscriptionService subscriptionService, ICategoryService categoryService)
 {
     this.unitOfWork = unitOfWork;
     this.organizationRepository = organizationRepository;
     this.personService = personService;
     this.userService = userService;
     this.emailHelper = emailHelper;
     this.locationRepository = locationRepository;
     this.subscriptionService = subscriptionService;
     this.categoryService = categoryService;
 }
Пример #39
0
 public AccountController(IWebSecurityService webSecurityService, IPersonService personService, IAccountService accountService, IEmailHelper emailHelper, IWorkflowInstanceService workflowInstanceService, IWorkflowService workflowService)
 {
     this.webSecurityService = webSecurityService;
     this.personService = personService;
     this.accountService = accountService;
     this.emailHelper = emailHelper;
     this.workflowInstanceService = workflowInstanceService;
     this.workflowService = workflowService;
     
     Boolean.TryParse(ConfigurationManager.AppSettings["RequireSignUpVerification"], out requireVerification);
 }
Пример #40
0
 public static CallProvider Create(CallType type, IUnitOfWork unitOfWork, IEmailHelper emailHelper)
 {
     switch (type)
     {
         case CallType.Telesale:
             return new TelesaleCallProvider(unitOfWork, emailHelper);
         case CallType.BD:
             return new BdCallProvider(unitOfWork, emailHelper);
         default:
             throw new Exception("Incorrect call type");
     }
 }
Пример #41
0
 internal BdCallProvider(IUnitOfWork unitOfWork, 
                         IEmailHelper emailHelper
                         )
     : base(unitOfWork, emailHelper)
 {
     DefaultActions = new Collection<ScriptAction>
     {
         new UpdateDaCheck(),
         new NewLead(),
         new UpdateCallBack()
     };
 }
Пример #42
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CatchallExceptionHandler"/> class.
 /// </summary>
 /// <param name="logger">The logger.</param>
 /// <param name="emailHelper">The email helper</param>
 /// <param name="configuration">The project configuration</param>
 public CatchallExceptionHandler(ILogger logger, IEmailHelper emailHelper, IConfiguration configuration)
 {
     this.logger = logger;
     this.emailHelper = emailHelper;
     this.configuration = configuration;
 }
Пример #43
0
 public HelpController(IEmailHelper emailHelper)
 {
     this.emailHelper = emailHelper;
 }
Пример #44
0
 public EmailUtils()
 {
     _emailHelper = ObjectFactory.GetInstance<IEmailHelper>();
     _cacheHelper = ObjectFactory.GetInstance<ICacheHelper>();
 }
 public AdditionalInformationController(IOrganizationService organizationService, IEmailHelper emailHelper, IWebSecurityService webSecurityService)
 {
     this.organizationService = organizationService;
     this.emailHelper = emailHelper;
     this.webSecurityService = webSecurityService;
 }
 public WorkflowInstanceController(IWorkflowInstanceService workflowInstanceService, IEmailHelper emailHelper)
 {
     this.workflowInstanceService = workflowInstanceService;
     this.emailHelper = emailHelper;
 }
Пример #47
0
 public AccountService(IWebSecurityService webSecurityService, IPersonService personService, IEmailHelper emailHelper)
 {
     this.webSecurityService = webSecurityService;
     this.personService = personService;
     this.emailHelper = emailHelper;
 }
Пример #48
0
 protected CallProvider(IUnitOfWork unitOfWork,IEmailHelper emailHelper)
 {
     UnitOfWork = unitOfWork;
     EmailHelper = emailHelper;
 }
Пример #49
0
 public LogOffController(IWebSecurityService userService, IEmailHelper emailHelper)
 {
     this.userService = userService;
     this.emailHelper = emailHelper;
 }
Пример #50
0
 public PaymentController(IOrganizationService organizationService, ISubscriptionService subscriptionService, IEmailHelper emailHelper)
 {
     this.organizationService = organizationService;
     this.subscriptionService = subscriptionService;
     this.emailHelper = emailHelper;
 }
Пример #51
0
 public LocationController(IOrganizationService organizationService, IEmailHelper emailHelper, ISubscriptionService subscriptionService, IWebSecurityService securityService):base(subscriptionService, organizationService,securityService)
 {
     this.organizationService = organizationService;
     this.emailHelper = emailHelper;
 }
Пример #52
0
 public EventController(IEmailHelper emailHelper, ISubscriptionService subscriptionService, IOrganizationService organizationService)
 {
     this.emailHelper = emailHelper;
     this.subscriptionService = subscriptionService;
     this.organizationService = organizationService;
 }
Пример #53
0
 /// <summary>
 /// Initialises a new instance of the WebClientService class.
 /// </summary>
 public WebClientService(IEmailHelper emailHelper)
 {
     this._emailHelper = emailHelper;
     this._settings = Settings.Default;
 }
Пример #54
0
 public CallService(IUnitOfWork unitOfWork, IEmailHelper emailHelper, IContactService contactService)
 {
     _unitOfWork = unitOfWork;
     _emailHelper = emailHelper;
     _contactService = contactService;
 }
 public NeededCategoriesController(IOrganizationService organizationService, IEmailHelper emailHelper)
 {
     this.organizationService = organizationService;
     this.emailHelper = emailHelper;
 }
 public WorkflowInstanceService(IUnitOfWork unitOfWork, IWorkflowInstanceRepository workflowInstanceRepository, IEmailHelper emailHelper)
 {
     this.unitOfWork = unitOfWork;
     this.workflowInstanceRepository = workflowInstanceRepository;
     this.emailHelper = emailHelper;
 }
Пример #57
0
 public SearchController(IOrganizationService organizationService, IEmailHelper emailHelper)
 {
     this.organizationService = organizationService;
     this.emailHelper = emailHelper;
 }