コード例 #1
0
ファイル: PointOfSale.cs プロジェクト: dirt0412/training.NET
 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();
 }