Metalama / / API Documentation / Aspect API / Metalama.​Framework.​Code / Namespace­Extensions / Is­Ancestor­Of

Method IsAncestorOf

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
Boolean