C# Class System.Xml.Xsl.Runtime.XPathPrecedingDocOrderIterator

显示文件 Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
Create ( XPathNavigator input, XmlNavigatorFilter filter ) : void

Initialize the XPathPrecedingDocOrderIterator (return preceding nodes in document order, no possibility of duplicates).

MoveNext ( ) : bool

Position this iterator to the next preceding node. Return false if there are no more preceding nodes. Return true if the Current property is set to the next node in the iteration.

Private Methods

Method Description
PushAncestors ( ) : void

Push all ancestors of this.navCurrent onto a stack. The set of preceding nodes should not contain any of these ancestors.

Method Details

Create() public method

Initialize the XPathPrecedingDocOrderIterator (return preceding nodes in document order, no possibility of duplicates).
public Create ( XPathNavigator input, XmlNavigatorFilter filter ) : void
input System.Xml.XPath.XPathNavigator
filter XmlNavigatorFilter
return void

MoveNext() public method

Position this iterator to the next preceding node. Return false if there are no more preceding nodes. Return true if the Current property is set to the next node in the iteration.
public MoveNext ( ) : bool
return bool