src/umbraco.presentation.xslt.Exslt/ExsltNodeList.cs
/// <summary>
/// Determines whether the list contains a navigator positioned at the same 
/// location as the specified XPathNavigator. This 
/// method relies on the IsSamePositon() method of the XPathNavightor. 
/// </summary>
/// <param name="value">The object to locate in the list.</param>
/// <returns>true if the object is found in the list; otherwise, false.</returns>
Determines whether the list contains a navigator positioned at the same
location as the specified XPathNavigator. This
method relies on the IsSamePositon() method of the XPathNavightor.
Determines whether the list contains a navigator positioned at the same location as the specified XPathNavigator . This method relies on the IsSamePositon () method of the XPathNavightor .
public bool Contains(XPathNavigator value){
			foreach(XPathNavigator nav in this.innerList){
				if(nav.IsSamePosition(value)){
					return true;
				}
			}
			return false; 
		}
public bool Contains ( XPathNavigator value ) { foreach ( XPathNavigator nav in this . innerList ) { if ( nav . IsSamePosition ( value ) ) { return true ; } } return false ; }
Determines whether the list contains a navigator positioned at the same
location as the specified XPathNavigator.
Determines whether the list contains a navigator positioned at the same location as the specified XPathNavigator .
true if the object is found in the list; otherwise, false.
true if the object is found in the list ; otherwise false .
value
XPathNavigator
The object to locate in the list.
The object to locate in the list .