Synopsis: | Use generic event handler instances |
Language: | C# |
Severity Level: | 5 |
Category: | Delegates and events |
Description: |
See http://msdn.microsoft.com/en-us/library/ms182178.aspx for a complete description and example of this FxCop based rule (CA1003). Before .NET Framework 2.0, in order to pass custom information to the event handler, a new delegate had to be declared that specified a class that was derived from the This generic delegate allows any class that is derived from |