public static IsLocationAllGeneric ( string location ) : bool | ||
location | string | The location string to check. |
return | bool |
public static bool IsLocationAllGeneric(string location)
{
var locSteps = location.SplitPathNamespaceSafe();
foreach (var loc in locSteps)
{
if (!IsSingleLocationGeneric(loc))
return false;
}
return true;
}