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