BuilderGenerator 2.4.0-alpha

This is a prerelease version of BuilderGenerator.
dotnet add package BuilderGenerator --version 2.4.0-alpha                
NuGet\Install-Package BuilderGenerator -Version 2.4.0-alpha                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BuilderGenerator" Version="2.4.0-alpha" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BuilderGenerator --version 2.4.0-alpha                
#r "nuget: BuilderGenerator, 2.4.0-alpha"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install BuilderGenerator as a Cake Addin
#addin nuget:?package=BuilderGenerator&version=2.4.0-alpha&prerelease

// Install BuilderGenerator as a Cake Tool
#tool nuget:?package=BuilderGenerator&version=2.4.0-alpha&prerelease                

Builder Generator

This is a .Net Source Generator designed to add "Builders" to your projects. Builders are an object creation pattern, similar to the Object Mother pattern. Object Mothers and Builders are most commonly used to create objects for testing, but they can be used anywhere you want "canned" objects.

For more complete documentation, please see the documentation site or the GitHub project page.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.4.0-alpha 319 1/14/2024
2.3.0 53,151 5/27/2023
2.2.0 1,477 4/23/2023
2.1.0 18,322 8/9/2022
2.0.7 10,069 8/7/2022
2.0.6 389 8/4/2022
2.0.5 425 8/1/2022
2.0.3 9,542 11/30/2021
2.0.2 495 11/30/2021
1.2.0 453 10/31/2021
0.1.5 499 2/20/2021
0.1.4 475 2/20/2021
0.1.3 512 2/15/2021

v2.4.0
     - Test code reorganization
     - Moved WithObject from the base class to the generated builder class
     - Added WithValuesFrom method to shallow clone an example object.

     v2.3.0
     - Major caching and performance improvements
     - Internal code cleanup
     - Conversion of templates to embedded resources

     v2.2.0
     - Changed generated file extension to .g.cs

     v2.1.0
     - Fixed #15, Builders can manipulate internals if configured to do so.

     v2.0.7
     - Fixed #13, NetStandard2.0 compatibility

     v2.0.6
     - Fixed #12, Generated files now marked with auth-generated header

     v2.0.5
     - Fixed #14, duplicate properties

     v2.0.3
     - Fixed NuGet packaging problem

     v2.0.2
     - Setters for base class properties rendering properly

     v2.0.1
     - Improved error handling

     v2.0.0
     - Updated to .Net 6 and IIncrementalGenerator
     - Changed usage pattern from marking target classes with attributes to marking partial builder classes

     v1.2.0
     - Solution reorganization
     - Version number synchronization
     - Automated build pipeline

     v1.0.0
     - First major release

     v0.5.0
     - Replaced separate BuilderGenerator.Common assembly with a generated attribute and base class.
     - NuGet package complete and working at last

     v0.1.4
     - Added logo
     - Builder now ignores properties without setters
     - NuGet package should auto-install analyzer now

     v0.1.3
     - Added Documentation site stub

     v0.1.2
     - Ignore read-only fields

     v0.1.1
     - Preview/Alpha release

     v0.1.0
     - Initial Release