コード例 #1
0
 public ImportLeadJob(
     ILeadAdaptersRepository‏ leadAdaptersRepository,
     IServiceProviderRepository serviceProviderRepository,
     IImportDataRepository importDataRepository,
     ISearchService <Contact> searchService,
     ICustomFieldService customFieldService,
     ISuppressionListService suppressionListService,
     ICommunicationService communicationService,
     IMailGunService mailGunService,
     IContactService contactService,
     IUnitOfWork unitofWork,
     ICachingService cacheService,
     IDropdownValuesService dropdownValuesService)
 {
     _leadAdaptersRepository‏   = leadAdaptersRepository;
     _serviceProviderRepository = serviceProviderRepository;
     _importDataRepository      = importDataRepository;
     _searchService             = searchService;
     _customFieldService        = customFieldService;
     _suppressionListService    = suppressionListService;
     _cacheService          = cacheService;
     _communicationService  = communicationService;
     _mailGunService        = mailGunService;
     _contactService        = contactService;
     _unitofWork            = unitofWork;
     _dropdownValuesService = dropdownValuesService;
 }
コード例 #2
0
ファイル: LeadJob.cs プロジェクト: rtbhosale/SmartTouch
 public LeadJob(
     ILeadAdaptersRepository‏ leadAdaptersRepository‏,
     IAccountRepository accountRepository,
     IServiceProviderRepository serviceProviderRepository,
     IImportDataRepository importDataRepository,
     ISearchService <Contact> searchService,
     ICustomFieldService customFieldService,
     ICachingService cahceService,
     ICommunicationService communicationService,
     IUnitOfWork unitOfWork,
     IMailGunService mailGunService,
     IContactService contactService)
 {
     _leadAdaptersRepository    = leadAdaptersRepository;
     _accountRepository         = accountRepository;
     _serviceProviderRepository = serviceProviderRepository;
     _importDataRepository      = importDataRepository;
     _searchService             = searchService;
     _customFieldService        = customFieldService;
     _cahceService         = cahceService;
     _communicationService = communicationService;
     _unitOfWork           = unitOfWork;
     _mailGunService       = mailGunService;
     _contactService       = contactService;
 }
コード例 #3
0
 public CondoLeadAdapterProvider(int accountId, int leadAdapterAndAccountMapID, ILeadAdaptersRepository leadAdaptersRepository, IServiceProviderRepository serviceProviderRepository,
                                 IImportDataRepository importDataRepository, ISearchService <Contact> searchService, IUnitOfWork unitOfWork,
                                 ICustomFieldService customFieldService, ICachingService cacheService, ICommunicationService communicationService, IMailGunService mailGunService, IContactService contactService)
     : base(accountId, leadAdapterAndAccountMapID, LeadAdapterTypes.BDX, leadAdaptersRepository, importDataRepository, searchService, unitOfWork,
            customFieldService, cacheService, serviceProviderRepository, mailGunService, contactService)
 {
     this.mailGunService       = mailGunService;
     this.searchService        = searchService;
     this.contactService       = contactService;
     this.importDataRepository = importDataRepository;
 }
コード例 #4
0
 public BuildersUpdateLeadAdapterProvider(int accountId, int leadAdapterAndAccountMapID, ILeadAdaptersRepository leadAdaptersRepository, IServiceProviderRepository serviceProviderRepository,
                                          IImportDataRepository importDataRepository, ISearchService <Contact> searchService, IUnitOfWork unitOfWork,
                                          ICustomFieldService customFieldService, ICachingService cacheService, ICommunicationService communicationService, IMailGunService mailGunService, IContactService contactService)
     : base(accountId, leadAdapterAndAccountMapID, LeadAdapterTypes.BuildersUpdate, leadAdaptersRepository, importDataRepository, searchService, unitOfWork,
            customFieldService, cacheService, serviceProviderRepository, mailGunService, contactService)
 {
     Logger.Current.Verbose("Enter into BuildersUpdateLeadAdapterProvider");
     this.mailGunService       = mailGunService;
     this.searchService        = searchService;
     this.importDataRepository = importDataRepository;
 }
コード例 #5
0
 public LeadProcessor(CronJobDb cronJob, JobService jobService, string leadProcessorCacheName)
     : base(cronJob, jobService, leadProcessorCacheName)
 {
     leadAdaptersRepository‏   = IoC.Container.GetInstance <ILeadAdaptersRepository‏>();
     contactRepository         = IoC.Container.GetInstance <IContactRepository>();
     serviceProviderRepository = IoC.Container.GetInstance <IServiceProviderRepository>();
     importDataRepository      = IoC.Container.GetInstance <IImportDataRepository>();
     searchService             = IoC.Container.GetInstance <ISearchService <Contact> >();
     tagService           = IoC.Container.GetInstance <ITagService>();
     customFieldService   = IoC.Container.GetInstance <ICustomFieldService>();
     cahceService         = IoC.Container.GetInstance <ICachingService>();
     communicationService = IoC.Container.GetInstance <ICommunicationService>();
     unitOfWork           = IoC.Container.GetInstance <IUnitOfWork>();
     mailGunService       = IoC.Container.GetInstance <IMailGunService>();
     contactService       = IoC.Container.GetInstance <IContactService>();
     accountRepository    = IoC.Container.GetInstance <IAccountRepository>();
 }
コード例 #6
0
 public ImportLeadProcessor(CronJobDb cronJob, JobService jobService, string importProcessorCacheName)
     : base(cronJob, jobService, importProcessorCacheName)
 {
     leadAdaptersRepository‏   = IoC.Container.GetInstance <ILeadAdaptersRepository‏>();
     serviceProviderRepository = IoC.Container.GetInstance <IServiceProviderRepository>();
     importDataRepository      = IoC.Container.GetInstance <IImportDataRepository>();
     searchService             = IoC.Container.GetInstance <ISearchService <Contact> >();
     customFieldService        = IoC.Container.GetInstance <ICustomFieldService>();
     suppressionListService    = IoC.Container.GetInstance <ISuppressionListService>();
     suppressionListRepository = IoC.Container.GetInstance <ISuppressionListRepository>();
     cahceService          = IoC.Container.GetInstance <ICachingService>();
     communicationService  = IoC.Container.GetInstance <ICommunicationService>();
     mailGunService        = IoC.Container.GetInstance <IMailGunService>();
     contactService        = IoC.Container.GetInstance <IContactService>();
     unitofWork            = IoC.Container.GetInstance <IUnitOfWork>();
     dropdownValuesService = IoC.Container.GetInstance <IDropdownValuesService>();
 }
コード例 #7
0
 public BaseLeadAdapterProvider(int accountId, int leadAdapterAndAccountMapID, LeadAdapterTypes leadAdapterType
                                , ILeadAdaptersRepository leadAdaptersRepository, IImportDataRepository importDataRepository, ISearchService <Contact> searchService,
                                IUnitOfWork unitOfWork, ICustomFieldService customFieldService, ICachingService cacheService, IServiceProviderRepository serviceProviderRepository, IMailGunService mailGunService,
                                IContactService contactService)
 {
     this.AccountID  = accountId;
     this.repository = leadAdaptersRepository;
     this.serviceProviderRepository = serviceProviderRepository;
     this.importDataRepository      = importDataRepository;
     this.customFieldService        = customFieldService;
     this.unitOfWork          = unitOfWork;
     this.mailGunService      = mailGunService;
     this.contactService      = contactService;
     this.leadAdapterType     = leadAdapterType;
     this.cacheService        = cacheService;
     LeadAdapterAccountMapID  = leadAdapterAndAccountMapID;
     leadAdapterAndAccountMap = repository.GetLeadAdapterByID(LeadAdapterAccountMapID);
     _fieldMappings           = GetFieldMappings();
 }
コード例 #8
0
 /// <summary>
 /// Creating constructor for maigun controller for accessing
 /// </summary>
 /// <param name="mailGunService"></param>
 public MailGunController(IMailGunService mailGunService)
 {
     this.mailGunService = mailGunService;
 }
コード例 #9
0
ファイル: SendService.cs プロジェクト: jbanken/email-test
 public SendService(IEmailDataProvider emailDataProvider, IMailGunService mailGunService)
 {
     _emailDataProvider = emailDataProvider;
     _mailGunService = mailGunService;
 }