예제 #1
0
        public void Main()
        {
            ParentCreationBuilder builder = new CreationBuilder2();
            Creation some = builder.Create();

            Console.WriteLine(some);

            //StepCreationBuilder stepBuilder = new StepCreationBuilder();
            //stepBuilder
            //    .SetIsValue(true)
            //    .SetName("StepCreationName")
            //    .SetNumber(33);
            //
            //Creation any = stepBuilder.BuildingObject;
            //Console.WriteLine(any);

            Console.ReadLine();
        }
예제 #2
0
 public StepCreationBuilder()
 {
     BuildingObject = new Creation();
 }