Exemplo n.º 1
0
 public Vehicle(string licensePlates, string color, int price, TypeVehicle typeVehicle, int age, TypeStatusVehicle status, int mileage)
 {
     this.licensePlates = licensePlates;
     this.color         = color;
     this.price         = price;
     this.typeVehicle   = typeVehicle;
     this.age           = age;
     this.status        = status;
     this.mileage       = mileage;
 }
Exemplo n.º 2
0
 public Car(string licensePlates, string color, int price, TypeVehicle typeVehicle, int age, TypeStatusVehicle status, int mileage, int seating) : base(licensePlates, color, price, typeVehicle, age, status, mileage)
 {
     this.seating = seating;
 }
Exemplo n.º 3
0
 public Truck(string licensePlates, string color, int price, TypeVehicle typeVehicle, int age, TypeStatusVehicle status, int mileage, int weight) : base(licensePlates, color, price, typeVehicle, age, status, mileage)
 {
     this.weight = weight;
 }
Exemplo n.º 4
0
 public Moto(string licensePlates, string color, int price, TypeVehicle typeVehicle, int age, TypeStatusVehicle status, int mileage, int cylinderVolume) : base(licensePlates, color, price, typeVehicle, age, status, mileage)
 {
     this.cylinderVolume = cylinderVolume;
 }