コード例 #1
0
 public Store()
 {
     PromiseTime         = TimeSpan.FromMinutes(30);
     foyrnos             = new Foyrnos();
     readyOrders         = new List <Order>();
     drivers             = new List <Driver>();
     pizzaMakers         = new List <PizzaMaker>();
     foyrnos.OrderReady += Foyrnos_OrderReady;
 }
コード例 #2
0
 private void Foyrnos_OrderReady(Foyrnos arg1, Order arg2)
 {
     Console.WriteLine("[{0}] Order:{1} ready for delivery", FakeTime.Instance.Now, arg2);
     readyOrders.Add(arg2);
 }