public void Only_a_single_method_should_dispatch_the_information() { var visitor = new MyVisitor(); var graph = new MyObjectGraph(); graph.Accept(visitor); }
public bool Visit(MyObjectGraph obj) { Trace.WriteLine("MyObjectGraph"); return(true); }