Пример #1
0
 /// <summary>
 ///     Ask cookers (builders) to execute tasks
 /// </summary>
 /// <param name="builder">The cooker</param>
 public void BuildMenu(IMenuBuilder builder)
 {
     builder.BuildMainDish();
     builder.BuildDrink();
     builder.BuildDessert();
 }