This commit is contained in:
Eugene Sadovoi 2017-10-13 10:13:28 -04:00 коммит произвёл GitHub
Родитель 2db5f910d4
Коммит e44c4fe2a5
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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())
{