Update EnumerableFixture.cs
This commit is contained in:
Родитель
2db5f910d4
Коммит
e44c4fe2a5
|
@ -531,9 +531,9 @@ namespace Unity.Tests.CollectionSupport
|
|||
using (IUnityContainer provider = new UnityContainer())
|
||||
{
|
||||
// Arrange
|
||||
provider.RegisterType<IService, EmailService>("1", new HierarchicalLifetimeManager());
|
||||
provider.RegisterType<IService, EmailService>("2", new HierarchicalLifetimeManager());
|
||||
provider.RegisterType<IService, EmailService>("3", new HierarchicalLifetimeManager());
|
||||
provider.RegisterType<IService, EmailService>("1", new ContainerControlledLifetimeManager());
|
||||
provider.RegisterType<IService, EmailService>("2", new ContainerControlledLifetimeManager());
|
||||
provider.RegisterType<IService, EmailService>("3", new ContainerControlledLifetimeManager());
|
||||
|
||||
using (var scope = provider.CreateChildContainer())
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче