protected Decorator(BakeryComponent baseComponent) { this.BaseComponent = baseComponent; }
public ArtificialScentDecorator(BakeryComponent baseComponent) : base(baseComponent) { this.DecoratorName = "Artificial Scent"; this.Price = 3.0; }
public NameCardDecorator(BakeryComponent baseComponent) : base(baseComponent) { this.DecoratorName = "Name Card"; this.Price = 4.0; }
public CreamDecorator(BakeryComponent baseComponent) : base(baseComponent) { this.DecoratorName = "Cream"; this.Price = 1.0; }
public CherryDecorator(BakeryComponent baseComponent) : base(baseComponent) { this.DecoratorName = "Cherry"; this.Price = 2.0; }