Scaffold code generator for generating wrapper class to any existing non-testable classes such static classes and .Net libraries like System.IO. Very useful for doing TDD and decoupling dependencies to 3rd party libraries.
         Usage: On Package Manager Console type the following command:
         Scaffold Wrapper {[Namespace].ClassName}
         Scaffold Wrapper System.IO.Directory
         Scaffold Wrapper System.IO.FileSystemWatcher
         Scaffold Wrapper System.IO.File                    
         Note: Reference assemblies must be already referenced to your project before generating wrapper class.

Install-Package Digitrish.WrapperGenerator -Version
dotnet add package Digitrish.WrapperGenerator --version
<PackageReference Include="Digitrish.WrapperGenerator" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Digitrish.WrapperGenerator --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes
           - Change naming of wrapper class by suffixing 2 eg. DateTime --> DateTime2
           - Add support for static wrapper only. Example : "Scaffold Wrapper System.DateTime true"   
           - Fix some formatting.

Version History

Version Downloads Last updated 1,091 10/1/2013 376 9/5/2013 374 8/27/2013 374 8/27/2013 371 8/26/2013 382 8/26/2013 369 8/26/2013 378 8/26/2013
1.0.0 410 8/26/2013