Digitrish.WrapperGenerator
1.0.0.7
See the version list below for details.
dotnet add package Digitrish.WrapperGenerator --version 1.0.0.7
NuGet\Install-Package Digitrish.WrapperGenerator -Version 1.0.0.7
<PackageReference Include="Digitrish.WrapperGenerator" Version="1.0.0.7" />
paket add Digitrish.WrapperGenerator --version 1.0.0.7
#r "nuget: Digitrish.WrapperGenerator, 1.0.0.7"
// Install Digitrish.WrapperGenerator as a Cake Addin #addin nuget:?package=Digitrish.WrapperGenerator&version=1.0.0.7 // Install Digitrish.WrapperGenerator as a Cake Tool #tool nuget:?package=Digitrish.WrapperGenerator&version=1.0.0.7
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}
Examples:
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.
Learn more about Target Frameworks and .NET Standard.
GitHub repositories
This package is not used by any popular GitHub repositories.
Fixed missing namespace detection for constructor parameters.