Telerik® JustCode™ by Progress

The Convert Anonymous Method To Named Method refactoring allows you to easily convert an anonymous method to a named method.

Note

Language Support

Supported: C#

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

To convert an anonymous method to a named method

  1. Move to the anonymous method you want to convert.

    Convert Anonymous To Named Method Selected
  2. From the Refactor menu of the VisualAid choose To Named Method.

    Convert Anonymous To Named Method Executed
  3. Telerik® JustCode™ will replace the anonymous method with a method group and will add a new method.

See Also

Other Resources