コード例 #1
0
 public Scooter(string name, Engine engine, Chassis chassis, Transmission transmission) : base(engine, chassis, transmission)
 {
     Name = name;
 }
コード例 #2
0
ファイル: Car.cs プロジェクト: IvanSakhonchik/HomeWork
 public Car(string mark, Engine engine, Chassis chassis, Transmission transmission) : base(engine, chassis, transmission)
 {
     Mark = mark;
 }
コード例 #3
0
 public Truck(int weight, Engine engine, Chassis chassis, Transmission transmission) : base(engine, chassis, transmission)
 {
     Weight = weight;
 }
コード例 #4
0
 public Vehicle(Engine engine, Chassis chassis, Transmission transmission)
 {
     Engine       = engine;
     Chassis      = chassis;
     Transmission = transmission;
 }