Esempio n. 1
0
        public void Demonstrate()
        {
            var antipatern = new Composite_AntiPattern();
            var pattern = new Composite_Pattern();

            antipatern.Demonstrate();

            Console.WriteLine("now the pattern");
            pattern.Demonstrate();
        }
Esempio n. 2
0
        public void Demonstrate()
        {
            var antipatern = new Composite_AntiPattern();
            var pattern    = new Composite_Pattern();

            antipatern.Demonstrate();

            Console.WriteLine("now the pattern");
            pattern.Demonstrate();
        }