DeveloperInTheFlow.FactoryGenerator 2.0.0.3

Console application that automatically generates factory implementations for classes marked with [GenerateFactory] attribute, by using Roslyn C# Compiler-as-a-Service. New files named <TargetClass>Factory.Generated.cs are added to the project.

Can be used in a build server environment.

Install-Package DeveloperInTheFlow.FactoryGenerator -Version 2.0.0.3
dotnet add package DeveloperInTheFlow.FactoryGenerator --version 2.0.0.3
<PackageReference Include="DeveloperInTheFlow.FactoryGenerator" Version="2.0.0.3">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DeveloperInTheFlow.FactoryGenerator --version 2.0.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

- Add possibility to specify a C# script for transforming the model before the template rendering.
- Add possibility to specify a template for factory generation.
- Fix incorrect factory method generation for classes containing multiple constructors.

Dependencies

This package has no dependencies.

Showing the top 1 GitHub repositories that depend on DeveloperInTheFlow.FactoryGenerator:

Repository Stars
jozefizso/SystemWrapper
.NET library for easier testing of system APIs.

Version History

Version Downloads Last updated
2.0.0.3 404 1/16/2017
2.0.0.1 1,533 7/6/2015
2.0.0 331 7/6/2015
1.1.0.23 348 6/17/2015
1.1.0.22 338 6/17/2015
1.1.0.21 338 6/10/2015
1.0.0.20 690 9/29/2014
1.0.0.19 389 9/29/2014
1.0.0.18 405 9/29/2014
1.0.0.17 413 9/2/2014
1.0.0.15 393 9/1/2014
1.0.0.14 371 9/1/2014
1.0.0.13 406 7/14/2014
1.0.0.11 383 6/23/2014
1.0.0.9 382 6/17/2014
1.0.0.8 452 6/17/2014
1.0.0.6 475 6/17/2014