示例#1
0
 public void Do()
 {
     Console.WriteLine("Boil the kettle");
     if (_step == null)
     {
         return;
     }
     _step.Do();
 }
示例#2
0
 public void Do()
 {
     Console.WriteLine("Add Milk");
     if (_step == null)
     {
         return;
     }
     _step.Do();
 }
示例#3
0
 public void CuppaFather()
 {
     _step.Do();
 }