public void CreateCompleteCar()
 {
     carModel.SetModel();
     carBody.SetBody();
     carEngine.SetEngine();
     carAccessories.SetAccessories();
 }
 public void CreateCompleteCar()
 {
     Console.WriteLine("******** Creating a Car. **********");
     model.SetModel();
     engine.SetEngine();
     body.SetBody();
     accessories.SetAccessories();
     Console.WriteLine("******** Car creation is completed. **********");
 }
Exemple #3
0
 public void CreateCompleteCar()
 {
     Console.WriteLine("******** Creating a Car **********\n");
     _model.SetModel();
     _engine.SetEngine();
     _body.SetBody();
     _accessories.SetAccessories();
     Console.WriteLine("\n******** Car creation completeed **********");
 }
        public void CreateCompleteCar()
        {
            Console.WriteLine(PrintMessages.CreatingCar);

            model.SetModel();
            engine.SetEngine();
            body.SetBody();
            accessories.SetAccessories();

            Console.WriteLine(PrintMessages.CreatedCar);
        }
Exemple #5
0
        private static void Main(string[] args)
        {
            CarModel       model       = new CarModel();
            CarEngine      engine      = new CarEngine();
            CarBody        body        = new CarBody();
            CarAccessories accessories = new CarAccessories();

            Console.WriteLine("******** Creating a Car **********\n");
            model.SetModel();
            engine.SetEngine();
            body.SetBody();
            accessories.SetAccessories();

            Console.WriteLine("\n******** Car creation complete **********");
        }