public SearchService(IFacetRepository facetRepository) { if (facetRepository == null) { throw new ArgumentNullException("facetRepository"); } this.facetRepository = facetRepository; }
public ContactRepository(IServiceProvider serviceProvider) { AutomationPlanDefinitionManager = serviceProvider.GetDefinitionManagerFactory().GetDefinitionManager <IAutomationPlanDefinition>(); contactIdentificationRepository = new ContactIdentificationRepository(); facetRepository = new FacetRepository(); eventRepository = new EventRepository(); listsAutomationsRepository = new ListsAutomationsRepository(); campaignRepository = new CampaignRepository(); }
public SalesController(ISalesRepository salesRepository, IFacetRepository facetRepository) { _salesRepository = salesRepository; _facetRepository = facetRepository; }
public AdminController(IFacetRepository repository) { _repository = repository; }
public MockFacetsConfigFactory(IFacetRepository repository) { Repository = repository; }