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