MetalamaAPI documentationAspect APIMetalama.​Framework.​CodeNamespace­ExtensionsIs­Ancestor­Of
Open sandboxFocus

NamespaceExtensions.IsAncestorOf Method

IsAncestorOf(INamespace, INamespace)

Gets a value indicating whether the current namespace is the ancestor of another given namespace. This method returns false when both namespaces are equal.

Declaration
public static bool IsAncestorOf(this INamespace a, INamespace b)
Parameters
Type Name Description
INamespace a
INamespace b
Returns
Type Description
System.Boolean