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
Subsequent registrations affecting previously registered mapped types:
[TestMethod] public void ConflictTypeMapping() { IUnityContainer container = new UnityContainer(); container.RegisterType<ILogger, MockLogger>(new ContainerControlledLifetimeManager()); ILogger logger = container.Resolve<ILogger>(); Assert.IsNotNull(logger); Assert.AreSame(container.Resolve<ILogger>(), logger); container.RegisterType<MockLogger>(new TransientLifetimeManager()); Assert.AreSame(container.Resolve<ILogger>(), logger); }
The last assertion is failing.
The text was updated successfully, but these errors were encountered:
Must be the longest running bug in Unity. Almost a feature by now.
Sorry, something went wrong.
Fixed in: cb419d5 013060b 475d8ed 7ea7387
Additional fixes for #35
10bcd5c
Fixed #35
06e06db
ENikS
No branches or pull requests
Subsequent registrations affecting previously registered mapped types:
The last assertion is failing.
The text was updated successfully, but these errors were encountered: