Small cleanup (join declarations)

This commit is contained in:
Flamefire committed 2013-04-23 22:14:53 +02:00
1 parent b8fe334153
commit f53e08607b
18 files changed
+33 -40

No files matched your search

+2 -3
View File
@@ -141,7 +141,7 @@ namespace VocaluxeLib.Menu
return values;
}
public List<string> GetAttributes(string cast, string attribute)
public IEnumerable<string> GetAttributes(string cast, string attribute)
{
List<string> values = new List<string>();
@@ -180,11 +180,10 @@ namespace VocaluxeLib.Menu
public bool ItemExists(string cast)
{
XPathNodeIterator iterator;
int results = 0;
_Navigator.MoveToFirstChild();
iterator = _Navigator.Select(cast);
XPathNodeIterator iterator = _Navigator.Select(cast);
while (iterator.MoveNext())
results++;