BitWiseBots.FluentBuilders
2.1.7
dotnet add package BitWiseBots.FluentBuilders --version 2.1.7
NuGet\Install-Package BitWiseBots.FluentBuilders -Version 2.1.7
<PackageReference Include="BitWiseBots.FluentBuilders" Version="2.1.7" />
<PackageVersion Include="BitWiseBots.FluentBuilders" Version="2.1.7" />
<PackageReference Include="BitWiseBots.FluentBuilders" />
paket add BitWiseBots.FluentBuilders --version 2.1.7
#r "nuget: BitWiseBots.FluentBuilders, 2.1.7"
#:package BitWiseBots.FluentBuilders@2.1.7
#addin nuget:?package=BitWiseBots.FluentBuilders&version=2.1.7
#tool nuget:?package=BitWiseBots.FluentBuilders&version=2.1.7
FluentBuilders
A .NET Standard library that provides a generic builder pattern capable of creating simple to complex object graphs. Designed to be used for unit testing.
Build Status
Getting Started
Installation
To install using the NuGet package manager console within Visual Studio, run this command:
Install-Package BitWiseBots.FluentBuilders
Or to install using the .NET Core CLI from the command prompt:
dotnet add package BitWiseBots.FluentBuilders
Creating a Builder
Lets say you have a class that looks something like:
public class Person
{
public string FirstName { get; set; }
public string LastName { get; set; }
}
You would create a builder, set its properties, and construct the final object like this:
BuilderFactory.Create<Person>
.With(p => p.FirstName, "John")
.With(p => p.LastName, "Doe")
.Build()
This only scratches the surface of what FluentBuilders can accomplish. If you have more complex objects or even graphs of objects check out our in depth usage guides here.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- No dependencies.
-
.NETStandard 2.1
- No dependencies.
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.1.7 | 46,099 | 8/15/2025 |
| 2.1.6 | 1,831 | 2/3/2025 |
| 2.1.5 | 27,630 | 11/1/2022 |
| 2.1.4 | 92 | 10/31/2022 |
| 2.1.3 | 627 | 6/16/2022 |
| 2.1.2 | 139 | 6/16/2022 |
| 2.1.1 | 540 | 6/16/2022 |
| 2.0.1 | 550 | 6/15/2022 |
| 1.1.2 | 577 | 6/15/2022 |
| 1.1.1 | 130 | 6/15/2022 |
| 1.0.3 | 129 | 5/31/2022 |
| 1.0.2 | 571 | 5/26/2022 |
| 1.0.1 | 515 | 5/26/2022 |
| 1.0.0 | 558 | 5/25/2022 |
| 0.5.0 | 433 | 1/15/2022 |
| 0.4.0 | 585 | 1/15/2022 |