Esempio n. 1
0
 public IndexProcessor(CronJobDb cronJob, JobService jobService, string indexProcessorCacheName)
     : base(cronJob, jobService, indexProcessorCacheName)
 {
     this.accountService     = IoC.Container.GetInstance <IAccountService>();
     this.contactRepository  = IoC.Container.GetInstance <IContactRepository>();
     this.indexingService    = IoC.Container.GetInstance <IIndexingService>();
     this.contactService     = IoC.Container.GetInstance <IContactService>();
     this.campaignService    = IoC.Container.GetInstance <ICampaignService>();
     this.opportunityService = IoC.Container.GetInstance <IOpportunitiesService>();
     this.formService        = IoC.Container.GetInstance <IFormService>();
     this.tagService         = IoC.Container.GetInstance <ITagService>();
 }
Esempio n. 2
0
 public ElasticDataProcessor()
 {
     this.contactService         = IoC.Container.GetInstance <IContactService>();
     this.campaignService        = IoC.Container.GetInstance <ICampaignService>();
     this.opportunityService     = IoC.Container.GetInstance <IOpportunitiesService>();
     this.formService            = IoC.Container.GetInstance <IFormService>();
     this.tagService             = IoC.Container.GetInstance <ITagService>();
     this.indexingService        = IoC.Container.GetInstance <IIndexingService>();
     this.actionService          = IoC.Container.GetInstance <IActionService>();
     this.tourService            = IoC.Container.GetInstance <ITourService>();
     this.webAnalyticsService    = IoC.Container.GetInstance <IWebAnalyticsProviderService>();
     this.advancedSearchService  = IoC.Container.GetInstance <IAdvancedSearchService>();
     this.contactRepository      = IoC.Container.GetInstance <IContactRepository>();
     this.suppressionListService = IoC.Container.GetInstance <ISuppressionListService>();
 }
Esempio n. 3
0
 public IndexJob(
     IAccountService accountService,
     IContactService contactService,
     ICampaignService campaignService,
     IOpportunitiesService opportunityService,
     IFormService formService,
     ITagService tagService,
     JobServiceConfiguration jobConfig)
 {
     _accountService     = accountService;
     _contactService     = contactService;
     _campaignService    = campaignService;
     _opportunityService = opportunityService;
     _formService        = formService;
     _tagService         = tagService;
     _jobConfig          = jobConfig;
 }
Esempio n. 4
0
 public AutomationEngine(ICachingService cachingService, IIndexingService indexingService,
                         IAdvancedSearchService advancedSearchService, IContactService contactService, IWorkflowService workflowService,
                         IAccountService accountService, ITagService tagService, ICampaignService campaignService, ILeadScoreService leadScoreService,
                         IPublishSubscribeService pubSubService, IOpportunitiesService opportunityService, ICommunicationService communicationService)
 {
     this.cachingService        = cachingService;
     this.indexingService       = indexingService;
     this.advancedSearchService = advancedSearchService;
     this.contactService        = contactService;
     this.workflowService       = workflowService;
     this.accountService        = accountService;
     this.tagService            = tagService;
     this.campaignService       = campaignService;
     this.leadScoreService      = leadScoreService;
     this.pubSubService         = pubSubService;
     this.communicationService  = communicationService;
     this.opportunityService    = opportunityService;
 }
Esempio n. 5
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="logger"></param>
 /// <param name="opportunitiesService"></param>
 public OpportunitiesController(ILog logger, IOpportunitiesService opportunitiesService) : base(logger)
 {
     _opportunitiesService = opportunitiesService;
 }
Esempio n. 6
0
 public OpportunitiesDialog(ILuisService luis, IOpportunitiesService service)
     : base(luis)
 {
     SetField.NotNull(out this.service, nameof(service), service);
 }
Esempio n. 7
0
 /// <summary>
 /// Creating constructor for opportunities controller for accessing
 /// </summary>
 /// <param name="contactService">contactService</param>
 /// <param name="opportunityService">opportunityService</param>
 public OpportunitiesController(IContactService contactService, IOpportunitiesService opportunityService)
 {
     this.contactService     = contactService;
     this.opportunityService = opportunityService;
 }