Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Extract Method Parameters
Extract Method Parameters

Extract Method Parameters

Jiří Macháček

|
313 installs
| (2) | Free
Extracts method parameters into a new type and uses that new type across whole solution for every reference of that method.
Download

Support this development

Turn this:

image.png

Into this:

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

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft