コード例 #1
0
 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;
 }
コード例 #2
0
 /// <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;
 }