Пример #1
0
        public Tuareg(CarPartsFactory factory)
        {
            _factory = factory;

            Name = "Tuareg";
            Body = "Jeep";
        }
Пример #2
0
        public Passat(CarPartsFactory factory)
        {
            _factory = factory;
            Name = "Passat";
            Body = "Sedan";

        }
Пример #3
0
 public Golf(CarPartsFactory factory)
 {
     _factory = factory;
     Name     = "Golf";
     Body     = "HatchBack";
 }
Пример #4
0
 public Tiguan(CarPartsFactory factory)
 {
     _factory = factory;
     Name     = "Tiguan";
     Body     = "Crossover";
 }