public NavigationSystemDecorator(VehicleComponent vehicle) : base(vehicle) { this.Vehicle.UpdatePrice(NavSystemPrice); }
public LeatherInteriorDecorator(VehicleComponent vehicle) : base(vehicle) { this.Vehicle.UpdatePrice(LeatherInteriorPrice); }
public V8EngineDecorator(VehicleComponent vehicle) : base(vehicle) { this.Vehicle.UpdatePrice(V8EnginePrice); }
protected VehicleDecorator(VehicleComponent vehicle) { this.Vehicle = vehicle; }