コード例 #1
0
 //构造函数-初始化业务层操作对象
 public SignRuleController(IPrizeContract prizeContract,
                           ISignRuleContract signRuleContract,
                           ICouponContract couponContract)
 {
     _prizeContract    = prizeContract;
     _signRuleContract = signRuleContract;
     _couponContract   = couponContract;
 }
コード例 #2
0
 //构造函数-初始化业务层操作对象
 public PrizeController(IPrizeContract prizeContract)
 {
     _prizeContract = prizeContract;
 }