Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QUESTION: Can I disable property injection? #142

Closed
EvilBeaver opened this issue Jan 31, 2021 · 2 comments
Closed

QUESTION: Can I disable property injection? #142

EvilBeaver opened this issue Jan 31, 2021 · 2 comments

Comments

@EvilBeaver
Copy link
Contributor

I don't want property injections on object creation. How can I disable it?

@grumpydev
Copy link
Owner

Property injection doesn't happen automatically, you have to manually called "BuildUp" to do it, so it is "disabled" if you're just using ctor injection.

@EvilBeaver
Copy link
Contributor Author

Thanks. I was confused by a phrase in wiki: "Any public read/write property that we can resolve, that isn't already set to a value, is resolved by the container".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants