Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HotKeyWordsService"/> class.
 /// </summary>
 /// <param name="searchInfo">The search info.</param>
 public HotKeyWordsService(iPow.Domain.Repository.ISearchInfoRepository searchInfo)
 {
     if (searchInfo == null)
     {
         throw new ArgumentNullException("searchInfoRepository is null");
     }
     searchInfoRepository = searchInfo;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HotKeyWordsService"/> class.
 /// </summary>
 /// <param name="searchInfo">The search info.</param>
 public HotKeyWordsService(iPow.Domain.Repository.ISearchInfoRepository searchInfo)
 {
     if (searchInfo == null)
     {
         throw new ArgumentNullException("searchInfoRepository is null");
     }
     searchInfoRepository = searchInfo;
 }
Exemplo n.º 3
0
 public SearchController(iPow.Infrastructure.Crosscutting.NetFramework.IWorkContext work,
     iPow.Application.dj.Service.ISearchService ipowSearchServer,
     iPow.Domain.Repository.ISearchInfoRepository searchInfo)
     : base(work)
 {
     if (ipowSearchServer == null)
     {
         throw new ArgumentNullException("searchService is null");
     }
     if (searchInfo == null)
     {
         throw new ArgumentNullException("searchInfoReopsitory is null");
     }
     searchService = ipowSearchServer;
     searchInfoReopsitory = searchInfo;
 }
Exemplo n.º 4
0
 public SearchController(iPow.Infrastructure.Crosscutting.NetFramework.IWorkContext work,
                         iPow.Application.dj.Service.ISearchService ipowSearchServer,
                         iPow.Domain.Repository.ISearchInfoRepository searchInfo)
     : base(work)
 {
     if (ipowSearchServer == null)
     {
         throw new ArgumentNullException("searchService is null");
     }
     if (searchInfo == null)
     {
         throw new ArgumentNullException("searchInfoReopsitory is null");
     }
     searchService        = ipowSearchServer;
     searchInfoReopsitory = searchInfo;
 }