The Create Method quick fix is available once Telerik® JustCode™ has detected an unknown invocation of a method in your code. By executing this fix, Telerik® JustCode™ automatically creates a new method in the current class with a signature derived from the method invocation.
Supported: C#, VB.NET, XAML
Not relevant: ASP.NET, HTML
To create a method
- Position the caret over an unknown invocation of a method.
Press Alt+Enter. From the pop-up menu, select Create Method 'unknown invocation'
The result is:
Create Method quick fix also works for creating event handlers directly from the XAML editor.