Beispiel #1
0
 public SandwichWithSalade(ISandwichComponent sandwich)
     : base(sandwich)
 {
 }
Beispiel #2
0
 public SandwichWithTomate(ISandwichComponent sandwich)
     : base(sandwich)
 {
 }
Beispiel #3
0
 public SandwichDecorator(ISandwichComponent sandwich)
 {
     this.sandwich = sandwich;
 }