Ejemplo n.º 1
0
 public Car(
     IWheel firstWheel,
     IWheel secondWheel,
     IWheel thirdWheel,
     IWheel fourthWheel,
     ITrailer trailer
     )
 {
     FirstWheel = firstWheel;
     SecondWheel = secondWheel;
     ThirdWheel = thirdWheel;
     FourthWheel = fourthWheel;
     Trailer = trailer;
 }
Ejemplo n.º 2
0
 public Car(
     IWheel firstWheel,
     IWheel secondWheel,
     IWheel thirdWheel,
     IWheel fourthWheel,
     ITrailer trailer
     )
 {
     FirstWheel  = firstWheel;
     SecondWheel = secondWheel;
     ThirdWheel  = thirdWheel;
     FourthWheel = fourthWheel;
     Trailer     = trailer;
 }