private PathListContains ( AccessiblePath paths, string bus_name, string path ) : bool | ||
paths | AccessiblePath | |
bus_name | string | |
path | string | |
return | bool |
private bool PathListContains(AccessiblePath [] paths, string bus_name, string path)
{
foreach (AccessiblePath child in paths)
if (child.bus_name == bus_name && child.path.ToString () == path)
return true;
return false;
}