private void BuildBaseContainer()
        {
            _serviceMap = _dependencyContainer.GetServiceMap();

            var map = new DependencyMap();

            foreach (var dependency in _serviceMap.Keys)
            {
                map.AddService(dependency, _serviceMap[dependency]);
            }

            _baseContainer = map.CreateContainer();
        }
 /// <summary>
 /// Registers the generic service type.
 /// </summary>
 /// <param name="serviceType">The service type that will be registered.</param>
 /// <param name="concreteType">The generic concrete type that will implement the generic service type.</param>
 /// <param name="map">The dependency map that contains all the dependencies.</param>
 protected virtual void Register(Type serviceType, Type concreteType, DependencyMap map)
 {
     map.AddService(serviceType, concreteType);
 }