Exemple #1
0
 public Decorator(Coffee coffee)
 {
     _coffee = coffee;
 }
Exemple #2
0
 public Milk(Coffee coffee) : base(coffee)
 {
     _coffee = coffee;
 }
 public Apple(Coffee coffee) : base(coffee)
 {
     _coffee = coffee;
 }