/// <summary> /// Public constructor /// </summary> public SearchController() { _client = SearchClient.Instance; _urlResolver = ServiceLocator.Current.GetInstance<UrlResolver>(); _statisticsTagsHelper = ServiceLocator.Current.GetInstance<IStatisticTagsHelper>(); }
public SynonymLoader(IClient client, IStatisticTagsHelper statisticTagsHelper) { _client = client; _statisticTagsHelper = statisticTagsHelper; }
/// <summary> /// Public constructor /// </summary> public SearchController() { _client = SearchClient.Instance; _urlResolver = ServiceLocator.Current.GetInstance <UrlResolver>(); _statisticsTagsHelper = ServiceLocator.Current.GetInstance <IStatisticTagsHelper>(); }