We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi.
In case you use interface to register a type
unityContainer.RegisterType<IFoo, Foo>(new ContainerControlledLifetimeManager());
we won't be able to use a parameterized ctor since we cannot add a ctor to the interface.
so basically, this example:
blog/unity-custom-constructor-parameters/TestsAndCustomResolverOverride/Tests.cs
Line 16 in 6c1dec2
will only work when registering an instance directly.
thanks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi.
In case you use interface to register a type
we won't be able to use a parameterized ctor since we cannot add a ctor to the interface.
so basically, this example:
blog/unity-custom-constructor-parameters/TestsAndCustomResolverOverride/Tests.cs
Line 16 in 6c1dec2
will only work when registering an instance directly.
thanks
The text was updated successfully, but these errors were encountered: