// Builder uses a complex series of steps // public void Assemble(SandwichBuilder sandwichBuilder) { sandwichBuilder.AddBread(); sandwichBuilder.AddMeats(); sandwichBuilder.AddCheese(); sandwichBuilder.AddVeggies(); sandwichBuilder.AddCondiments(); }
public SandwichMaker(SandwichBuilder SandwichBuilder) { _SandwichBuilder = SandwichBuilder; }
public SandwichMaker(SandwichBuilder builder) { this.builder = builder; }
public SandwichMaker(SandwichBuilder builder) { _Builder = builder; }
public SandwichMaker(SandwichBuilder sandwichBuilder) { this.builder = sandwichBuilder; }