Example #1
0
 public Mercedes_Factory() : base(brand: "Mercedes")
 {
     CarTypes.Add("Mercedes", new Mercedes_Product(subsidiary: "Head"));
     CarTypes.Add("Daimler", new Mercedes_Product(subsidiary: "Daimler"));
 }
Example #2
0
 public BMW_Factory() : base(brand: "BMW")
 {
     CarTypes.Add("BMW", new BMW_Product("Head"));
 }