Support this development
Turn this:
![image.png](https://jiri-machacek.gallerycdn.vsassets.io/extensions/jiri-machacek/extractmethodparameters/1.3.3.0/1695044351180/image.png)
Into this:
![image__3.png](https://jiri-machacek.gallerycdn.vsassets.io/extensions/jiri-machacek/extractmethodparameters/1.3.3.0/1695044351180/image__3.png)
Just select the parameters which you want to modify, hit Alt+Enter and choose Extract method parameters
- it creates new class with properties same as the parameters you've selected
- it automatically chooses defaults for the properties based on the parameter common values through the whole solution (where possible)
- it copies parameter xml comments from the method
- it skips out parameters, params keyword and generics where the type is declare in the method signature such as
MyMythod<T>(T myParam)
- it supports interfaces, abstract classes...
Support this development
| |