public ChristmasTreeDecorator(string name, ChristmasTree newTech) : base(name)
 {
     this.tree = newTech;
 }
Пример #2
0
 public Star(ChristmasTree ct) : base(ct.Name + " with Star", ct)
 {
 }
Пример #3
0
 public Ball(ChristmasTree ct) : base(ct.Name + " with Ball", ct)
 {
 }