m31coding / M31.FluentAPI

Generate fluent builders for your C# classes with ease.
MIT License
94 stars 4 forks source link

Support default values in fluent methods #5

Closed m31coding closed 5 months ago

m31coding commented 5 months ago

E.g.

[FluentMethod(0)]
public void WithFirstName(string firstName = "Alice")
{
    FirstName = firstName;
}

Resolves #3