Required Properties Injection #562
TonyValenti
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
@TonyValenti Hi, yeah, I am aware of the new Autofac version with required properties. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
AutoFac recently implemented required properties injection and it is awesome!
https://autofac.readthedocs.io/en/latest/register/prop-method-injection.html#required-properties
This eliminates a ton of boilerplate constructor code, especially where inheritance is involved.
Dryloc should follow suit.
Beta Was this translation helpful? Give feedback.
All reactions