public override double Cost() => .15 + _beverage.Cost();
Beispiel #2
0
 public override decimal Cost()
 {
     return(_beverage.Cost() + 0.22M);
 }
Beispiel #3
0
 public override double Cost()
 {
     return(0.1f + m_Beverage.Cost());
 }
Beispiel #4
0
 public override decimal Cost()
 => 0.20M + _beverage.Cost();
Beispiel #5
0
 public override decimal Cost() => Beverage.Cost() + 0.4m;
 public override double Cost()
 {
     return .2 + beverage.Cost();
 }
Beispiel #7
0
 public override double Cost()
 {
     return(_beverage.Cost() + 0.20d);
 }
Beispiel #8
0
 public override double Cost()
 {
     return(.10 + _beverage.Cost());
 }
Beispiel #9
0
 public override double Cost()
 {
     return(beverage.Cost() + 0.10);
 }
Beispiel #10
0
 public override double Cost()
 {
     return(0.20 + beverage.Cost());
 }
Beispiel #11
0
 public override decimal Cost()
 {
     return .10m + _beverage.Cost();
 }
Beispiel #12
0
 public override decimal Cost()  // Compute the cost of the Beverage with our decorator
 {
     return(Beverage.Cost() + 0.56m);
 }
Beispiel #13
0
 public override int Cost()
 {
     return(_beverage != null?_beverage.Cost() : default);
Beispiel #14
0
 public override double Cost()
 {
     return(Beverage.Cost());
 }
Beispiel #15
0
 public override double Cost() => .20 + Beverage.Cost();
Beispiel #16
0
 public override decimal Cost()
 {
     return(0.39m + _beverage.Cost());
 }
Beispiel #17
0
 public override double Cost() => 0.20 + beverage.Cost();
 public override double Cost()
 {
     return(_beverage.Cost() + .40);
 }
 public override decimal Cost()
 {
     return(Beverage.Cost() + 0.20m);
 }