Пример #1
0
        public void TestVisitor()
        {
            var context = new VisitorContext();

            var concreteElementOne = new ConcreteElementOne();

            var visitor = new ConcreteVisitor();

            context.AddElement(concreteElementOne);
            context.Accept(visitor);
        }