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.
Install / Use
/learn @BitWiseBots/FluentBuildersREADME
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.
Related Skills
node-connect
341.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.4kCommit, push, and open a PR
