Total .NET Analyzer Rule Documentation  

EventHandlerSuffix Rule

Use the suffix 'EventHandler' for Event Handler names.

Remarks

Using a standardized naming convention is an important element in writing code that is easy to read, understand, and maintain. Microsoft recommends that you always add the suffix 'EventHandler' to Event Handler type names.

Resolution

Revise the Event Handler type names to include the suffix 'EventHandler.' For example, you would use 'MouseEventHandler' rather than 'MouseEvent.'

(Note that this is standardized naming convention, so it has no effect on the execution of code.)

See Also

Event Naming Guidelines