public void CloneProperties(VehicleModification vehicleModification)
 {
     this.model        = vehicleModification.model;
     this.modelCode    = vehicleModification.modelCode;
     this.releaseStart = vehicleModification.releaseStart;
     this.releaseEnd   = vehicleModification.releaseEnd;
 }
 public VehicleModification(Vehicle vehicle, VehicleModification vehicleModification)
 {
     this.Vehicle      = vehicle;
     this.model        = vehicleModification.model;
     this.modelCode    = vehicleModification.modelCode;
     this.releaseStart = vehicleModification.releaseStart;
     this.releaseEnd   = vehicleModification.releaseEnd;
 }
Exemple #3
0
 public VehicleEngine(VehicleModification vehicleModification, VehicleEngine vehicleEngine)
 {
     this.VehicleModification = vehicleModification;
     this.volume       = vehicleEngine.volume;
     this.modification = vehicleEngine.modification;
     this.power        = vehicleEngine.power;
     this.modelCode    = vehicleEngine.modelCode;
     this.releaseStart = vehicleEngine.releaseStart;
     this.releaseEnd   = vehicleEngine.releaseEnd;
 }