[Extension()] public static bool IsUsedByNamespace( IUsed usedCodeElement, string userNamespaceName )
Parameters
- usedCodeElement
- This NDepend.CodeModel.IUsed object. A NDepend.CodeModel.IUsed object can be a NDepend.CodeModel.IAssembly, NDepend.CodeModel.INamespace, NDepend.CodeModel.IMember, NDepend.CodeModel.IType, NDepend.CodeModel.IMethod or NDepend.CodeModel.IField object.
- userNamespaceName
- The Name of the namespace user.
The string userNamespaceName can contain wildcard '*' characters but cannot be just a single wildcard string "*".
If one or several namespaces are matched by userNamespaceName, this method has a used by any behavior.