public double GetResult(double money)
 {
     return(cs.acceptCash(money));
 }
Esempio n. 2
0
 public double GetResult(double money)//根据具体的策略对象,调用其算法
 {
     return(cs.acceptCash(money));
 }
Esempio n. 3
0
 public double GetResult(double money)
 {
     return(_cashSuper.acceptCash(money));
 }