/// <summary> /// Creates a new navigator positioned at the same node as other navigator. /// </summary> /// <param name="other">Navigator to be copied</param> private ObjectXPathNavigator(ObjectXPathNavigator other) { if (other._context.DetectLoops) { _navigationStack = new Stack(); } MoveTo(other); }
/// <summary> /// Creates a new navigator positioned at the same node as other navigator. /// </summary> /// <param name="other">Navigator to be copied</param> private ObjectXPathNavigator( ObjectXPathNavigator other ) { if( other._context.DetectLoops ) _navigationStack = new Stack(); MoveTo( other ); }
/// <summary> /// Creates a new <see cref="LoopDetectionEventArgs"/> instance. /// </summary> /// <param name="navigator"><see cref="ObjectXPathNavigator"/> Navigator object</param> /// <param name="node"><see cref="Node"/> Node that caused loop appearance</param> public LoopDetectionEventArgs( ObjectXPathNavigator navigator, Node node ) { _navigator = navigator; _node = node; _ignoreLoop = false; }
/// <summary> /// Creates a new <see cref="LoopDetectionEventArgs"/> instance. /// </summary> /// <param name="navigator"><see cref="ObjectXPathNavigator"/> Navigator object</param> /// <param name="node"><see cref="Node"/> Node that caused loop appearance</param> public LoopDetectionEventArgs(ObjectXPathNavigator navigator, Node node) { _navigator = navigator; _node = node; _ignoreLoop = false; }