C# Class Sage.XsltExtensions.Set

Afficher le fichier Open project: igorfrance/sage

Méthodes publiques

Méthode Description
distinct ( XPathNodeIterator nodeset, string xpath ) : XPathNodeIterator

Selects nodes from the specified nodeset that have unique values selected with xpath.

distinct ( XPathNodeIterator nodeset, string xpath, bool includeNullEntries ) : XPathNodeIterator

Selects nodes from the specified nodeset that have unique values selected with xpath.

either ( XPathNodeIterator nodeset1, XPathNodeIterator nodeset2 ) : XPathNodeIterator

Returns nodeset1 if it is not empty, otherwise nodeset2.

Method Details

distinct() public méthode

Selects nodes from the specified nodeset that have unique values selected with xpath.
public distinct ( XPathNodeIterator nodeset, string xpath ) : XPathNodeIterator
nodeset System.Xml.XPath.XPathNodeIterator The nodeset that contains the nodes to filter.
xpath string The xpath to use to select the value that should be unique between nodes.
Résultat System.Xml.XPath.XPathNodeIterator

distinct() public méthode

Selects nodes from the specified nodeset that have unique values selected with xpath.
public distinct ( XPathNodeIterator nodeset, string xpath, bool includeNullEntries ) : XPathNodeIterator
nodeset System.Xml.XPath.XPathNodeIterator The nodeset that contains the nodes to filter.
xpath string The xpath to use to select the value that should be unique between nodes.
includeNullEntries bool If set to true, nodes that fail to select the specified will be included too.
Résultat System.Xml.XPath.XPathNodeIterator

either() public méthode

Returns nodeset1 if it is not empty, otherwise nodeset2.
public either ( XPathNodeIterator nodeset1, XPathNodeIterator nodeset2 ) : XPathNodeIterator
nodeset1 System.Xml.XPath.XPathNodeIterator The primary selection.
nodeset2 System.Xml.XPath.XPathNodeIterator The secondary selection.
Résultat System.Xml.XPath.XPathNodeIterator