示例#1
0
 public PointOfSale(IProductRepository productRepository)
 {
     this.ProductRepository = productRepository;
     LCDisplayDevice = new LCDDisplayDevice();
     Products = new List<Product>();
     Printer = new Printer();
 }
示例#2
0
 public PointOfSale(IProductRepository productRepository)
 {
     this.ProductRepository = productRepository;
     LCDisplayDevice        = new LCDDisplayDevice();
     Products = new List <Product>();
     Printer  = new Printer();
 }