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

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

            return(we);
        }