예제 #1
0
파일: DataContext.cs 프로젝트: 224107/PT
 public DataContext()
 {
     Customers       = new List <Customer>();
     Events          = new List <Event>();
     ProductsCatalog = new ProductsCatalog();
     ProductsState   = new ProductsState(ProductsCatalog);
 }
예제 #2
0
파일: Event.cs 프로젝트: 224107/PT
 public Sale(Customer customer, DateTime date, ProductsState productsState) : base(date, productsState)
 {
     Customer = customer;
 }
예제 #3
0
파일: Event.cs 프로젝트: 224107/PT
 public Supply(DateTime date, ProductsState productsState) : base(date, productsState)
 {
 }
예제 #4
0
파일: Event.cs 프로젝트: 224107/PT
 public Event(DateTime date, ProductsState productsState)
 {
     Date          = date;
     ProductsState = productsState;
 }