Exemplo n.º 1
0
        public void Use()
        {
            var circle = factory.CreateCircle();

            circle.UseCircle();

            var square = factory.CreateSquare();

            square.UseSquare();
        }
 public void UseShapes()
 {
     factory.CreateCircle().UseCircle();
     factory.CreateSquare().UseSquare();
 }