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

Afficher le fichier Open project: gbarnett/shared-source-cli-2.0

Méthodes publiques

Méthode Description
Create ( XmlNavigatorFilter filter ) : void

Initialize the XPathFollowingMergeIterator (merge multiple sets of following nodes in document order and remove duplicates).

MoveNext ( XPathNavigator input ) : IteratorResult

Position this iterator to the next following node. Prune by finding the first input node in document order that has no other input nodes in its subtree. All other input nodes should be discarded. Return IteratorResult.NeedInputNode if the next input node needs to be fetched first. Return IteratorResult.HaveCurrent if the Current property is set to the next node in the iteration.

Private Methods

Méthode Description
MoveFailed ( ) : IteratorResult

Called when an attempt to move to a following node failed. If a Next node exists, then make that the new candidate current node. Otherwise, iteration is complete.

MoveFirst ( ) : IteratorResult

Position this.navCurrent to the node which follows it in document order but is not a descendant node.

Method Details

Create() public méthode

Initialize the XPathFollowingMergeIterator (merge multiple sets of following nodes in document order and remove duplicates).
public Create ( XmlNavigatorFilter filter ) : void
filter XmlNavigatorFilter
Résultat void

MoveNext() public méthode

Position this iterator to the next following node. Prune by finding the first input node in document order that has no other input nodes in its subtree. All other input nodes should be discarded. Return IteratorResult.NeedInputNode if the next input node needs to be fetched first. Return IteratorResult.HaveCurrent if the Current property is set to the next node in the iteration.
public MoveNext ( XPathNavigator input ) : IteratorResult
input System.Xml.XPath.XPathNavigator
Résultat IteratorResult