public Car BuildCar() { carBuilder.BuildBody(); carBuilder.BuildEngine(); carBuilder.BuildWheel(); return(carBuilder.GetCar()); }
public void Construct(ICarBuilder builder) { builder.BuildWheel(); builder.BuildEngine(); }