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 | The potential ancestor namespace. |
| INamespace | b | The namespace to check. |
Returns
| Type | Description |
|---|---|
| bool |
|