public void BuildSandwich() { builder.CreateNewSandwich(); builder.PrepareBread(); builder.ApplyMeatAndCheese(); builder.ApplyVegetables(); builder.AddCondiments(); }
public Sandwich CreateSandwich() { _Builder.PrepareBread(); _Builder.ApplyMeatAndCheese(); _Builder.ApplyVegetables(); _Builder.ApplyCondiments(); return(_Builder.GetSandwich()); }