Exemplo n.º 1
0
 public AbstractFoodDecorator(AbstractFood abstractFood)
 {
     this.Id           = abstractFood.Id;
     this.Name         = abstractFood.Name;
     this.Introduction = abstractFood.Introduction;
     this.Price        = abstractFood.Price;
     _abstractFood     = abstractFood;
     DishContext       = abstractFood.DishContext;
 }
Exemplo n.º 2
0
 public AbstractBuyFoodDecorator(AbstractFood abstractFood) : base(abstractFood)
 {
 }