Beispiel #1
0
 public DataContext()
 {
     Customers       = new List <Customer>();
     Events          = new List <Event>();
     ProductsCatalog = new ProductsCatalog();
     ProductsState   = new ProductsState(ProductsCatalog);
 }
Beispiel #2
0
 public Sale(Customer customer, DateTime date, ProductsState productsState) : base(date, productsState)
 {
     Customer = customer;
 }
Beispiel #3
0
 public Supply(DateTime date, ProductsState productsState) : base(date, productsState)
 {
 }
Beispiel #4
0
 public Event(DateTime date, ProductsState productsState)
 {
     Date          = date;
     ProductsState = productsState;
 }