Skip to content

kutzowsky/FluentBuilder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FluentBuilder

C# library providing fluent API to build objects a.k.a fun fun fun on the autobahn (with reflection).

Sample usage

class Person
{
    public string Name { get; set; }
    public string Surname { get; set; }
    public int Age { get; set; }
}

dynamic personBuilder = new FluentBuilder<Person>();

Person person = personBuilder
    .WithName("John")
    .AndSurname("Rambo")
    .AndAge(71)
    .Get();

Technologies & tools

Disclaimer

It's mostly an excercise, not production ready code (maybe not even practical). It came to my mind when I was lying in bed with a fever, so be gentle :).

About

C# library providing fluent API to build objects

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages