コード例 #1
0
 public void Receive(BreakfastItem <Bacon> bacon)
 {
     Console.WriteLine("bacon is ready");
     doneBacon = true;
 }
コード例 #2
0
 public void Receive(BreakfastItem <Toast> toast)
 {
     Console.WriteLine("toast is ready");
     doneToast = true;
 }
コード例 #3
0
 public void Receive(BreakfastItem <Egg> eggs)
 {
     Console.WriteLine("eggs are ready");
     doneEggs = true;
 }