public virtual IVehicle CreateSaloon() { if (saloon == null) { saloon = new Saloon(new StandardEngine(1300)); } return((IVehicle)saloon.Clone()); }
public virtual IVehicle CreateSaloon() { if (saloon == null) { { saloon = new Saloon(new StandardEngine(1300)); } } return((IVehicle)saloon.Clone()); }
public virtual IVehicle CreateSaloon() { return((IVehicle)saloon.Clone()); }
public virtual IVehicle CreateBoxVan() { return((IVehicle)boxVan.Clone()); }
public virtual IVehicle CreateSport() { return((IVehicle)sport.Clone()); }
public virtual IVehicle CreateCoupe() { return((IVehicle)coupe.Clone()); }
public virtual IVehicle CreateSport() { _sport = _sport ?? new Sport(new StandardEngine(1200)); return (IVehicle) _sport.Clone(); }
public virtual IVehicle CreateCoupe() { _Coupe = _Coupe ?? new Coupe(new StandardEngine(_ENGINE_SIZE)); return((IVehicle)_Coupe.Clone()); }
public virtual IVehicle CreatePickup() { _pickup = _pickup ?? new Pickup(new StandardEngine(1200)); return (IVehicle) _pickup.Clone(); }
public virtual IVehicle CreateCoupe() { _coupe = _coupe ?? new Coupe(new StandardEngine(1200)); return (IVehicle) _coupe.Clone(); }
public virtual IVehicle CreateBoxVan() { _boxVan = _boxVan ?? new BoxVan(new StandardEngine(1200)); return (IVehicle) _boxVan.Clone(); }
public virtual IVehicle CreatePickup() { return((IVehicle)_Pickup.Clone()); }
public virtual IVehicle CreatePickup() { _Pickup = _Pickup ?? new Pickup(new StandardEngine(_ENGINE_SIZE)); return((IVehicle)_Pickup.Clone()); }
public virtual IVehicle CreateBoxVan() { _BoxVan = _BoxVan ?? new BoxVan(new StandardEngine(_ENGINE_SIZE)); return((IVehicle)_BoxVan.Clone()); }
public virtual IVehicle CreateSport() { _Sport = _Sport ?? new Sport(new StandardEngine(_ENGINE_SIZE)); return((IVehicle)_Sport.Clone()); }
public virtual IVehicle CreateSaloon() { _saloon = _saloon ?? new Saloon(new StandardEngine(1200)); return (IVehicle) _saloon.Clone(); }
public virtual IVehicle CreateSaloon() { _Saloon = _Saloon ?? new Saloon(new StandardEngine(_ENGINE_SIZE)); return((IVehicle)_Saloon.Clone()); }