Exemple #1
0
        public void Demonstrate()
        {
            var antipatern = new Composite_AntiPattern();
            var pattern = new Composite_Pattern();

            antipatern.Demonstrate();

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

            antipatern.Demonstrate();

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