示例#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;
 }
示例#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;
 }
示例#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;
 }
示例#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;
 }