Exemple #1
0
 /// <summary>
 /// Only for example. Its bad idea - we need constructor with such parameter
 /// </summary>
 public Car()
 {
     Stereo = new Stereo();
     Engine = new Engine();
     Transmission = new Transmission();
     RocketBarrage = new RocketBarrage();
 }
 public SetTransmittionToAutoMode(Transmission transmission)
 {
     _transmission = transmission;
 }