Skip to content

Repository files navigation

ParameterWrapper

NuGet Status

This analyzer helps to organize method/constructor/delegate parameters nicely in your C# program. You'll find it extremely helpful in projects of a certain size with DI containers configured, long type names and/or methods with many parameters declared.

Installation

The analyzer can be installed:

  • globally using the Visual Studio 2019 Extension (link)
  • individually (per-project) using the NuGet package (link)

Example

Consider the following method declarations:

classTest{publicvoidFoo(inta){}publicvoidFoo(inta,intb){}publicvoidFoo(inta,intb,intc){}}

Below is formatting the analyzer will suggest:

classTest{publicvoidFoo(inta){}publicvoidFoo(inta,intb){}publicvoidFoo(inta,intb,intc){}}

Demo

ParameterWrapper

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages