public void Construct(Cooker cooker)
 {
     cooker.PrepareProducts();
     cooker.Cook();
     cooker.GetLengthOfCooking();
 }
示例#2
0
 public void Construct(Cooker cooker)
 {
     cooker.PrepareProducts();
     cooker.Cook();
     cooker.GetLengthOfCooking();
 }