Traces entering an event handler for a specific GUI component,
and increases the indentation.
Namespace: CleanCode.DiagnosticsAssembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
public void TraceEnterEventHandler(
Object sender
)
public void TraceEnterEventHandler(
Object sender
)
Public Sub TraceEnterEventHandler ( _
sender As Object _
)
Public Sub TraceEnterEventHandler ( _
sender As Object _
)
public:
void TraceEnterEventHandler(
Object^ sender
)
public:
void TraceEnterEventHandler(
Object^ sender
)
The type of component (Button, MenuItem, etc.), its name, and its label, if any,
are shown in the log output.
If the naming of your event handler follows the standard convention
of
[control name]_[event name] (as in, for example, dataGridView_CellFormatting),
the name of the event (e.g. CellFormatting) is also reported.