Oh, so this is pretty cool. Let me try to understand it better. Instead of writing a constructor with ten parameters, you can expose properties that can be set with an extension lambda?
yes, basically, but it has a lot more uses!, for example there is a library that allows you to write html using extension lambdas and it looks like this:
Oh, so this is pretty cool. Let me try to understand it better. Instead of writing a constructor with ten parameters, you can expose properties that can be set with an extension lambda?
yes, basically, but it has a lot more uses!, for example there is a library that allows you to write html using extension lambdas and it looks like this:
they have the same flexibility as normal lambdas but with a lot less boilerplate
Wow that’s elegant. I imagine you get the added benefit of type checking and whatnot, right?
Yes!