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