Skip to content
Discussion options

You must be logged in to vote

Unless you can provide an example that shows an actual issue we don't have plans to make a change here. I've also already validated that this works as expected.

var container = Setup.CreateContainer();
Setup.Registry.RegisterSingleton<IServiceA, ServiceA>();
var resolved = container.Resolve<IServiceA>();
Assert.Same(resolved, container.Resolve<IServiceA>());
var scope = container.CreateScope();
Assert.Same(resolved, scope.Resolve<IServiceA>());

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@brianlagunas
Comment options

@wowfood
Comment options

Answer selected by wowfood
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
WPF
Labels
None yet
3 participants