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

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

Public Methods

Method Description
Create ( XmlNavigatorFilter filter, bool orSelf ) : void

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

MoveNext ( XPathNavigator input ) : IteratorResult

Position this iterator to the next descendant node. Return IteratorResult.NoMoreNodes if there are no more descendant nodes. Return IteratorResult.NeedInputNode if the next input node needs to be fetched. Return IteratorResult.HaveCurrent if the Current property is set to the next node in the iteration.

Method Details

Create() public method

Initialize the DescendantIterator (merge multiple sets of descendant nodes in document order and remove duplicates).
public Create ( XmlNavigatorFilter filter, bool orSelf ) : void
filter XmlNavigatorFilter
orSelf bool
return void

MoveNext() public method

Position this iterator to the next descendant node. Return IteratorResult.NoMoreNodes if there are no more descendant nodes. Return IteratorResult.NeedInputNode if the next input node needs to be fetched. 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
return IteratorResult