TypeCode is a .NET code generation tool designed to accelerate C# development by automatically generating boilerplate code through reflection on assemblies. This powerful utility streamlines repetitive coding tasks, allowing developers to focus on core logic and functionality.
Key Features:
SpecFlow Table Generation: Automatically creates SpecFlow feature tables for classes, simplifying unit test creation.
Fake Constructor Generation: Generates constructors for classes without parameters, aiding in unit testing scenarios.
Composer Generation: Produces composer classes for implementing strategies based on interfaces.
Mapper Generation: Creates mapper classes to facilitate seamless data transfer between two different class structures.
Builder Pattern Support: Automatically generates builder classes for creating complex objects using the builder pattern.
Audience & Benefit:
Ideal for .NET developers and teams working with C#, TypeCode significantly reduces manual effort in writing boilerplate code. By automating repetitive tasks, it enables faster development cycles and enhances productivity, particularly in scenarios requiring extensive unit testing or complex object construction.
TypeCode is available as both a console application and a WPF desktop application. It can be installed via winget for easy integration into your development workflow.
README
TypeCode
Develop c# code faster by generating .NET specific boilerplate code using reflection on assemblies. Available a console or wpf application.
Make sure that you have installed ".NET 6.0 Desktop Runtime". If not, download it from Microsoft.
> :warning: Information: Windows Defender
> Windows Defender blocks execution of the exe.
> The application needs permission.
> Right-click the exe and select properties.
> Then enable/allow execution.
Zip
Download wpf or console application zip from releases
Extract zip
Start the .exe
Change configuration in settings
Installer (Wpf)
Download wpf msi installer from releases
Click the msi installer
Walk through the installation pages
Search with window search for TypeCode
Start the app
Change configuration in settings
Dev
Clone the git repository
Change the "localPackages" path in the nuget.config
{Token}: Z2hwX1hybmFLaVIyTm1zaGVWRVpqMjVLbHZsNTBjdldKYjMzQ2hPeQ== -> Convert Base64 back to Text First