Beispiel #1
0
        public override string Type(AbstractBodywork body)
        {
            string tp = body.Type;

            return(tp);
        }
Beispiel #2
0
 public Client(CarFactory car_factory)
 {
     abstractCar      = car_factory.CreateCar();
     abstractEngine   = car_factory.CreateEngine();
     abstractBodywork = car_factory.CreateBodywork();
 }
Beispiel #3
0
 public abstract string Type(AbstractBodywork body);