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

Autofac warning about "ContainerBuilder.Update" method #1935

Closed
AndreiMaz opened this issue Dec 6, 2016 · 2 comments
Closed

Autofac warning about "ContainerBuilder.Update" method #1935

AndreiMaz opened this issue Dec 6, 2016 · 2 comments

Comments

@AndreiMaz
Copy link
Member

'ContainerBuilder.Update(IContainer)' is obsolete: 'Containers should generally be considered immutable. Register all of your dependencies before building/resolving. If you need to change the contents of a container, you technically should rebuild the container. This method may be removed in a future major release.'

we have to fix it

@agametov
Copy link
Contributor

agametov commented Dec 7, 2016

In future, may be helpful for fix autofac/Autofac#811

@AndreiMaz
Copy link
Member Author

@agametov Thanks, Rustam!

@AndreiMaz AndreiMaz self-assigned this Dec 12, 2016
AndreiMaz added a commit that referenced this issue Dec 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants