public InsuranceDecorator(ClassComponent baseComponent) : base(baseComponent) { this._name = "Insurance Service"; this._price = 30; }
protected Decorator(ClassComponent baseComponent) { classComponent = baseComponent; }
public MealDecorator(ClassComponent baseComponent) : base(baseComponent) { this._name = "Meal Service"; this._price = 15; }
public BaggageDecorator(ClassComponent baseComponent) : base(baseComponent) { this._name = "Baggage Service"; this._price = 7; }