required
properties + Dependency Injection = Awesomeness
#7037
TonyValenti
started this conversation in
Show and tell
Replies: 1 comment
-
Thanks for sharing Tony! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi C# Team,
I just wanted to let you know that the work you did with
required
properties is even more awesome now that AutoFac supports it.https://docs.autofac.org/en/latest/register/prop-method-injection.html#required-properties
It seriously saves a TON of boilerplate code since I no longer have to pass tons of parameters though the constructor hierarchy.
Thanks again for making this possible!
Beta Was this translation helpful? Give feedback.
All reactions