S
S
Saharman2021-10-24 14:22:25
C++ / C#
Saharman, 2021-10-24 14:22:25

What are the alternatives for the old Unity Container functionality?

Good afternoon.
Came across an upgrade from an old .Net Framework app to .Net 5. During the upgrade, the Unity Container was upgraded and my code of course couldn't compile.
There are the following problems:
1) IBuilderContext has been replaced with BuilderContext, which removed CurrentOperation, BuildKey and GetOverriddenResolver. How can they be replaced?
2) I can't find ConstructorArgumentResolveOperation (needed for CurrentOperation)
3) I can't find UnityContainerReadOnly.Teardown

Can someone suggest alternatives to this functionality for the easiest migration to the new version?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question