예제 #1
0
 public Order()
 {
     Name    = OrderName.GetName();
     Sushis  = new List <Sushi>();
     IsTaken = false;
     IsReady = false;
     Time    = DateTime.Now;
 }
예제 #2
0
 public Order(List <Sushi> sushis)
 {
     Name   = OrderName.GetName();
     Sushis = new List <Sushi>();
     foreach (var item in sushis)
     {
         Sushis.Add(item);
     }
     IsTaken = false;
     IsReady = false;
     Time    = DateTime.Now;
 }