Exemplo n.º 1
0
 public override IBoat Build(BoatBuilder builder)
 {
     builder.BuildBody();
     builder.BuildEngine();
     builder.PaintBoat();
     return(builder.Boat);
 }
Exemplo n.º 2
0
 public abstract IBoat Build(BoatBuilder buider);
 public override IBoat Build(BoatBuilder builder)
 {
     builder.BuildSteering();
     builder.BuildInboardEngine();
     return(builder.Boat);
 }