public static House GetHouse(HouseBuilder hb) { return(hb.BuildFoundation() .BuildWalls() .BuildRoof() .house); }
public House Construct(HouseBuilder builder) { return(HouseBuilder.GetHouse(builder)); }
public static House GetHouse(HouseBuilder hb) { return(hb.BuildFoundation() .BuildWalls() .BuildRoof() .house); }
public House Construct(HouseBuilder builder) { return(HouseBuilder.GetHouse(builder)); }