Esempio n. 1
0
 public DecoratorA(Icomponent c)
 {
     this.component = c;
 }
Esempio n. 2
0
 private static void Display(string v, Icomponent c)
 {
     Console.WriteLine(v + c.Operation());
 }
Esempio n. 3
0
 public string AddedState = "Past the coffe shop"; // What should this called?
 public DecoratorB(Icomponent c) => this.component = c;