예제 #1
0
 public ButterCreamDecorator(BakedGood bakedGood)
     : base(bakedGood)
 {
     Name  = "Butter Cream Frosting";
     Price = 15.00m;
 }
예제 #2
0
 public CherryDecorator(BakedGood bakedGood)
     : base(bakedGood)
 {
     Name  = "Cherry";
     Price = 4.00m;
 }
예제 #3
0
 public NameDecorator(BakedGood bakedGood)
     : base(bakedGood)
 {
     Name  = "Name Card";
     Price = 5.00m;
 }
예제 #4
0
 public Decorator(BakedGood bakedGood)
 {
     this.bakedGood = bakedGood;
 }