uQuery: Standardising method signatures, from List<T> to IEnumerable<T>

This commit is contained in:
Hendy
2012-06-11 09:57:48 -01:00
parent 9456abe36e
commit a9cd8aec79
7 changed files with 25 additions and 35 deletions

View File

@@ -1,4 +1,5 @@
using System;
using System.Linq;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Xml.XPath;
@@ -119,7 +120,7 @@ namespace umbraco.editorControls.XPathDropDownList
try
{
if (uQuery.GetNodesByXPath(xPath).Count >= 0)
if (uQuery.GetNodesByXPath(xPath).Count() >= 0)
{
isValid = true;
}