public LinkedInController(IUserAccountsCommand userAccountsCommand, IAccountsManager accountsManager, IFaqsQuery faqsQuery, ILinkedInCommand linkedInCommand, ILinkedInQuery linkedInQuery, IIndustriesQuery industriesQuery) { _userAccountsCommand = userAccountsCommand; _accountsManager = accountsManager; _faqsQuery = faqsQuery; _linkedInCommand = linkedInCommand; _linkedInQuery = linkedInQuery; _industriesQuery = industriesQuery; }
public ResourceSearchService(ResourceLoader resourceLoader, IResourceSearchBooster booster, IResourceSearchEngineQuery searchEngineQuery, IResourcesQuery resourcesQuery, IFaqsQuery faqsQuery) : base(EventSource, searchEngineQuery, DefaultIndexFolder) { _resourcesQuery = resourcesQuery; _faqsQuery = faqsQuery; var analyzerFactory = new AnalyzerFactory(resourceLoader); _indexer = new Indexer(analyzerFactory.CreateContentAnalyzer(), analyzerFactory.CreateQueryAnalyzer(), booster, resourcesQuery, faqsQuery); }
public void ResourceSearchTestsInitialize() { _resourcesQuery = Resolve <IResourcesQuery>(); _resourcesCommand = Resolve <IResourcesCommand>(); _faqsQuery = Resolve <IFaqsQuery>(); _indexer = new Indexer(new SimpleAnalyzer(), new SimpleAnalyzer(), new ResourceSearchBooster(), _resourcesQuery, _faqsQuery); _indexWriter = new IndexWriter(new RAMDirectory(), null, IndexWriter.MaxFieldLength.UNLIMITED); var similarity = new SweetSpotSimilarity(); similarity.setLengthNormFactors(FieldName.Content, 200, 1000, 0.5f, false); _indexWriter.setSimilarity(similarity); }
public SettingsController(IAccountsManager accountsManager, ILoginCredentialsQuery loginCredentialsQuery, IFaqsQuery faqsQuery, IUsersQuery usersQuery, ISettingsCommand settingsCommand, ISettingsQuery settingsQuery) : base(accountsManager, loginCredentialsQuery, faqsQuery) { _usersQuery = usersQuery; _settingsCommand = settingsCommand; _settingsQuery = settingsQuery; }
public ActivationController(IAccountsManager accountsManager, ILoginCredentialsQuery loginCredentialsQuery, IFaqsQuery faqsQuery, IMemberAccountsCommand memberAccountsCommand, IAccountVerificationsCommand accountVerificationsCommand, IAuthenticationManager authenticationManager) : base(accountsManager, loginCredentialsQuery, faqsQuery) { _memberAccountsCommand = memberAccountsCommand; _accountVerificationsCommand = accountVerificationsCommand; _authenticationManager = authenticationManager; }
public SupportApiController(IFaqsQuery faqsQuery, IEmailsCommand emailsCommand) { _faqsQuery = faqsQuery; _emailsCommand = emailsCommand; }
internal SubcategoryContentHandler(IBooster booster, IResourcesQuery resourcesQuery, IFaqsQuery faqsQuery) { _booster = booster; var resourceCategories = resourcesQuery.GetCategories(); var faqCategories = faqsQuery.GetCategories(); _categories = resourceCategories.Concat(faqCategories).ToList(); }
public HomeController(IAccountsManager accountsManager, ILoginCredentialsQuery loginCredentialsQuery, IFaqsQuery faqsQuery, IIndustriesQuery industriesQuery, ICacheManager cacheManager, int featuredItems, ILocationQuery locationQuery, IResourcesQuery resourcesQuery) : base(accountsManager, loginCredentialsQuery, faqsQuery) { _industriesQuery = industriesQuery; _cacheManager = cacheManager; _featuredItems = featuredItems; _locationQuery = locationQuery; _resourcesQuery = resourcesQuery; }
protected PublicLoginJoinController(IAccountsManager accountsManager, ILoginCredentialsQuery loginCredentialsQuery, IFaqsQuery faqsQuery) : base(accountsManager, loginCredentialsQuery, faqsQuery) { }
public HomeController(IAccountsManager accountsManager, ILoginCredentialsQuery loginCredentialsQuery, IFaqsQuery faqsQuery, ILocationQuery locationQuery) : base(accountsManager, loginCredentialsQuery, faqsQuery) { _locationQuery = locationQuery; }
public Indexer(Analyzer contentAnalyzer, Analyzer queryAnalyzer, IResourceSearchBooster booster, IResourcesQuery resourcesQuery, IFaqsQuery faqsQuery) { _contentAnalyzer = contentAnalyzer; _queryBuilder = new QueryBuilder(queryAnalyzer); _contentHandler = new ContentHandler(booster); _createdTimeHandler = new CreatedTimeContentHandler(booster); _subcategoryHandler = new SubcategoryContentHandler(booster, resourcesQuery, faqsQuery); _itemTypeHandler = new ItemTypeContentHandler(booster); _popularityHandler = new PopularityContentHandler(booster); _handlers = new[] { _itemTypeHandler, _subcategoryHandler, _createdTimeHandler, _popularityHandler }; }
public SupportController(IFaqsQuery faqsQuery) { _faqsQuery = faqsQuery; }
protected LoginJoinController(IAccountsManager accountsManager, ILoginCredentialsQuery loginCredentialsQuery, IFaqsQuery faqsQuery) { _accountsManager = accountsManager; _loginCredentialsQuery = loginCredentialsQuery; _faqsQuery = faqsQuery; }
public FaqsController(IExecuteFaqSearchCommand executeFaqSearchCommand, IFaqsQuery faqsQuery) { _executeFaqSearchCommand = executeFaqSearchCommand; _faqsQuery = faqsQuery; }
public LoginController(IAccountsManager accountsManager, ILoginCredentialsQuery loginCredentialsQuery, IFaqsQuery faqsQuery, IIndustriesQuery industriesQuery) : base(accountsManager, loginCredentialsQuery, faqsQuery) { _industriesQuery = industriesQuery; }