コード例 #1
0
 public HomeController(FxCacheService.FxGoods.GoodsCache goodsCache,
     FxCacheService.FxHouse.HouseCache houseCache,
     FxCacheService.FxCar.CarCache carCache)
 {
     this.goodsCache = goodsCache;
     this.houseCache = houseCache;
     this.carCache = carCache;
 }
コード例 #2
0
 /// <summary>
 /// 默认构造函数
 /// </summary>
 /// <param name="goodsCache">物品缓存</param>
 /// <param name="houseCache">房屋缓存</param>
 /// <param name="carCache">车辆缓存</param>
 public HomeController(FxCacheService.FxGoods.GoodsCache goodsCache,
                       FxCacheService.FxHouse.HouseCache houseCache,
                       FxCacheService.FxCar.CarCache carCache)
 {
     this.goodsCache = goodsCache;
     this.houseCache = houseCache;
     this.carCache   = carCache;
 }