[Extension()] public static bool IsUsedByEvent( IUsed usedCodeElement, string userEventFullName )
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.IEvent or NDepend.CodeModel.IField object.
- userEventFullName
- The NDepend.CodeModel.ICodeElement.FullName of the event user.
The string userEventFullName can contain wildcard '*' characters but cannot be just a single wildcard string "*".
If one or several events are matched by userEventFullName, this event has a used by any behavior.