private static IsInNamespaces ( this type, IList |
||
type | this | |
namespaces | IList |
|
return | bool |
private static bool IsInNamespaces(this TypeInfo type, IList<string> namespaces)
{
return namespaces.Count == 0 || type.Namespace != null && namespaces.Any(x => type.Namespace.StartsWith(x));
}
}