A generic, flexible, static factory written in C# contained in a single file for easy inclusion in any project. You'll never have to write another factory again. The main points of extensibility are exposed so you can control it's behavior without writing boilerplate code. Visit the project for samples that show you how you can easily factory file extension specific classes, version classes or protocols and much more. Part of Code Blocks (

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


This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 1,246 1/5/2012 583 12/7/2011 527 12/7/2011 542 12/7/2011