BlackLambert_unity-di-package/Runtime/Scripts/Core/DIContainer/DIContainersFactory.cs
namespace SBaier.DI
{
    public class DIContainersFactory : Factory<DIContainers>, Injectable
    {
        private GameObjectContextsReseter _deactivator;

        public void Inject(Resolver resolver)
        {
            _deactivator = resolver.Resolve<GameObjectContextsReseter>();
        }

        public DIContainers Create()
        {
            return new DIContainers(
                new BindingsContainer(),
                new SingleInstancesContainer(),
                new NonLazyContainer(),
                new DisposablesContainer(),
                new ObjectsContainer(),
                new GameObjectsContainer(_deactivator));
        }
	} 
}

