[Extension()] public static bool HasAttribute( IAttributeTarget attributeTargetCodeElement, string attributeTypeFullName )
Parameters
- attributeTargetCodeElement
- This NDepend.CodeModel.IAttributeTarget object. A NDepend.CodeModel.IAttributeTarget object can be a NDepend.CodeModel.IAssembly, NDepend.CodeModel.IType, NDepend.CodeModel.IMethod or NDepend.CodeModel.IField object.
- attributeTypeFullName
- The NDepend.CodeModel.ICodeElement.FullName of the attribute type.
The string attributeTypeFullName can contain wildcard '*' characters but cannot be just a single wildcard string "*".
If one or several code elements are matched by attributeTypeFullName, this method has a tagged by any behavior.