[Extension()] public static bool IsUsingAssembly( IUser userCodeElement, string usedAssemblyName )
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.
- usedAssemblyName
- The Name of the assembly used.
The string usedAssemblyName can contain wildcard '*' characters but cannot be just a single wildcard string "*".
If one or several assemblies are matched by usedAssemblyName, this method has a using any behavior.