NDepend.API Documentation
IsUsingEvent Method (IUser)
NDepend.CodeModel Namespace > IUser Interface : IsUsingEvent Method
The event that is potentially used by this code element.
Returns true if this code element is used by eventUsed, otherwise returns false.
Syntax
bool IsUsingEvent( 
   IEvent eventUsed
)

Parameters

eventUsed
The event that is potentially used by this code element.
Requirements

Target Platforms: Windows 11, 10, 8, 7and Linux, MacOS with net10.0, net9.0 or net8.0 installed

See Also

Reference

IUser Interface
IUser Members