예제 #1
0
 public Vehicle(int id, VehicleType vehicleType, Speed speed, Kilometres mileage)
 {
     Id          = id;
     VehicleType = vehicleType;
     Speed       = speed;
     Mileage     = mileage;
 }
예제 #2
0
 public Vehicle(VehicleType vehicleType, Speed speed, Kilometres mileage)
 {
     VehicleType = vehicleType;
     Speed       = speed;
     Mileage     = mileage;
 }