static void Main(string[] args)
        {
            Builder builder = new PanelBuilder("Exfactor Grup SRL");
            House   house2  = builder.Create();

            builder = new WoodBuilder("Dansicons SRL");
            House house = builder.Create();
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            BuilderHuman builder  = new WoodBuilder();
            Director     director = new Director(builder);

            director.Create();

            Home home = builder.GetHome();



            Console.ReadLine();
        }
Beispiel #3
0
        static void Main(string[] args)
        {
            var woodBuilder = new WoodBuilder();

            woodBuilder.BuildFloor();
            woodBuilder.BuildWalls();
            woodBuilder.BuildRoof();
            woodBuilder.GetResult();

            var concreteBuilder = new ConcreteBuilder();

            concreteBuilder.BuildFloor();
            concreteBuilder.BuildWalls();
            concreteBuilder.BuildRoof();
            concreteBuilder.GetResult();
        }