/// <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; }
/// <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; }
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; }
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; }