public SearchController(ISiteSearch<CarTransferInfo> transferCarSearch, ISiteSearch<HouseTransferInfo> transferHouseSearch, ISiteSearch<CarBuyInfo> buyCarSearch, ISiteSearch<HouseBuyInfo> buyHouseSearch, IGoodsSearch<GoodsTransferInfo> goodsTransferSearch, IGoodsSearch<GoodsBuyInfo> goodsBuySearch) { this.transferCarSearch = transferCarSearch; this.transferHouseSearch = transferHouseSearch; this.buyCarSearch = buyCarSearch; this.buyHouseSearch = buyHouseSearch; this.goodsTransferSearch = goodsTransferSearch; this.goodsBuySearch = goodsBuySearch; }
/// <summary> /// 默认构造函数 /// </summary> /// <param name="transferCarSearch">大频道帖子关键字车辆转让查询接口</param> /// <param name="transferHouseSearch">大频道帖子关键字房屋转让查询接口</param> /// <param name="buyCarSearch">大频道帖子关键字车辆求购查询接口</param> /// <param name="buyHouseSearch">大频道帖子关键字房屋求购查询接口</param> /// <param name="goodsTransferSearch">大频道帖子关键字物品转让查询接口</param> /// <param name="goodsBuySearch">大频道帖子关键字物品求购查询接口</param> public SearchController(ISiteSearch <CarTransferInfo> transferCarSearch, ISiteSearch <HouseTransferInfo> transferHouseSearch, ISiteSearch <CarBuyInfo> buyCarSearch, ISiteSearch <HouseBuyInfo> buyHouseSearch, IGoodsSearch <GoodsTransferInfo> goodsTransferSearch, IGoodsSearch <GoodsBuyInfo> goodsBuySearch) { this.transferCarSearch = transferCarSearch; this.transferHouseSearch = transferHouseSearch; this.buyCarSearch = buyCarSearch; this.buyHouseSearch = buyHouseSearch; this.goodsTransferSearch = goodsTransferSearch; this.goodsBuySearch = goodsBuySearch; }