Exemple #1
0
 /// <summary>
 /// 默认构造函数
 /// </summary>
 /// <param name="homeSearch">首页信息接口-车辆信息返回</param>
 /// <param name="homeTopShow">首页获取置顶数据相关接口</param>
 /// <param name="carListService">车辆列表服务</param>
 /// <param name="topShow">置顶操作接口</param>
 /// <param name="carBuySearchService">车辆求购查询服务</param>
 /// <param name="carTransferSearchService">车辆转让查询服务</param>
 public CarCache(IHomeSearch<CarTransferInfo> homeSearch,
     IHomeTopShow homeTopShow,
     CarListService carListService,
     ITopShow topShow,
     CarBuySearchService carBuySearchService,
     CarTransferSearchService carTransferSearchService)
 {
     this.homeSearch = homeSearch;
     this.homeTopShow = homeTopShow;
     this.carListService = carListService;
     this.topShow = topShow;
     this.carBuySearchService = carBuySearchService;
     this.carTransferSearchService = carTransferSearchService;
 }
 /// <summary>
 ///  默认构造函数
 /// </summary>
 /// <param name="homeSearch">首页信息接口-房屋信息返回</param>
 /// <param name="homeTopShow">首页获取置顶数据相关接口</param>
 /// <param name="houseListService">房屋列表服务</param>
 /// <param name="topShow">置顶操作接口</param>
 /// <param name="houseBuySearchService">房屋求购查询服务</param>
 /// <param name="houseTransferSearchService">房屋转让查询服务</param>
 public HouseCache(IHomeSearch<HouseTransferInfo> homeSearch,
     IHomeTopShow homeTopShow,
     HouseListService houseListService,
     ITopShow topShow,
     HouseBuySearchService houseBuySearchService,
     HouseTransferSearchService houseTransferSearchService)
 {
     this.homeSearch = homeSearch;
     this.homeTopShow = homeTopShow;
     this.houseListService = houseListService;
     this.houseBuySearchService = houseBuySearchService;
     this.houseTransferSearchService = houseTransferSearchService;
     this.topShow = topShow;
 }
 public GoodsCache(IHomeSearch<GoodsTransferInfo> homeSearch,
     IHomeTopShow homeTopShow,
     GoodsListService goodsListService,
     ITopShow topShow,
     GoodsBuySearchService goodsBuySearchService,
     GoodsTransferSearchService goodsTransferSearchService)
 {
     this.homeSearch = homeSearch;
     this.homeTopShow = homeTopShow;
     this.goodsListService = goodsListService;
     this.topShow = topShow;
     this.goodsBuySearchService = goodsBuySearchService;
     this.goodsTransferSearchService = goodsTransferSearchService;
 }