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

NamespaceExtensions.IsDescendantOf Method

IsDescendantOf(INamespace, INamespace)

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

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