public IntelligentStore(List <Product> listOfProducts, IIntelligentSystem intelligentSystem) : base(listOfProducts)
 {
     IntelligentSystem = intelligentSystem;
 }
예제 #2
0
 public IntelligentStoreWithDiscount(List <Product> listOfProducts, IIntelligentSystem intelligentSystem, IDiscountSystem discountedSystem) : base(listOfProducts, intelligentSystem)
 {
     DiscountSystem = discountedSystem;
 }