Total .NET Analyzer Rule Documentation |
|
EventArgumentsCorrectSuffix Rule
Use the suffix 'EventArgs' for Event Argument 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 'EventArgs' to type names Event Argument type names.
Resolution
Revise your Event Argument type names to include the suffix 'EventArgs'. For example, you would use 'MouseEventArgs' rather than 'Mouse'.
(Note that this is standardized naming convention, so it has no effect on the execution of code.)
See Also
Event Naming Guidelines