Support this development
Turn this:

Into this:

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
it supports interfaces, abstract classes...
it doesn't support methods with generic type parameter such as MyMythod<T>(T myParam)
Support this development
| |