示例#1
0
        public static WalkEvent <T> CreateExitEvent(T node)
        {
            var we = new WalkEvent <T>(node, WalkEventType.EventExit);

            return(we);
        }
示例#2
0
 public static void AssertExit(XNode n, WalkEvent <XNode> evt)
 {
     Assert.AreEqual(n, evt.Node);
     Assert.AreEqual(WalkEventType.EventExit, evt.Type);
 }
示例#3
0
        public static WalkEvent <T> CreateEnterEvent(T node)
        {
            var we = new WalkEvent <T>(node, WalkEventType.Enter);

            return(we);
        }