public Bread Bake(BreadBuilder builder) { builder.Bread = new Bread(); builder.SetFlour(); builder.SetSalt(); builder.SetAdditive(); return(builder.Bread); }
public static Bread Bake(BreadBuilder breadBuilder) { breadBuilder.CreateBread(); breadBuilder.SetFlour(); breadBuilder.SetSalt(); breadBuilder.SetAdditives(); return(breadBuilder.Bread); }
public void Bake() { _builder.SetSalt(); _builder.SetFlour(); _builder.SetAdditives(); }