Refactorings for Lambda Expressions and Anonymous Methods
These refactorings are only available in C#.
Compress to Lambda Expression
Converts an anonymous method to an equivalent lambda expression. 
Expand Lambda Expression
Converts a lambda expression to an equivalent anonymous method.
Inline Delegate
Inlines the delegate, creating an anonymous method. If there are no other references to the delegate method, it is removed. 
Name Anonymous Method
Creates a new delegate method from an anonymous method which does not access any local variables from the parenting method body. 
After applying this refactoring the method names will be linked up allowing you to easily rename the new method.
|