예제 #1
0
        public void Only_a_single_method_should_dispatch_the_information()
        {
            var visitor = new MyVisitor();

            var graph = new MyObjectGraph();

            graph.Accept(visitor);
        }
예제 #2
0
        public bool Visit(MyObjectGraph obj)
        {
            Trace.WriteLine("MyObjectGraph");

            return(true);
        }