JustCode

The Convert Event To Event With Custom Implementation refactoring allows you to easily convert a simple event to event with explicitly implemented add/remove methods.

Note

Language Support

Supported: C#, VB.NET

Not relevant: JavaScript, ASP.NET,XAML, HTML

To convert an event to event with custom implementation

  1. Select the event you want to convert and press Alt+Insert. From the pop-up menu select To Custom Event Implementation.

    Convert Event To Custom
  2. The result is:

    Convert Event To Custom Result

See Also

Other Resources