/// <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;
 }
示例#3
0
 /// <summary>
 /// Public constructor
 /// </summary>
 public SearchController()
 {
     _client               = SearchClient.Instance;
     _urlResolver          = ServiceLocator.Current.GetInstance <UrlResolver>();
     _statisticsTagsHelper = ServiceLocator.Current.GetInstance <IStatisticTagsHelper>();
 }