/// <summary> /// Initializes a new instance of the DependencyMapLoader class. /// </summary> /// <param name="constructorResolver"></param> /// <param name="typeLoader">The type loader that will load the service types from each assembly.</param> /// <param name="serviceLoader">The service loader that will load services from a given assembly.</param> /// <param name="defaultServiceResolver">The resolver that will determine the default anonymous implementation for a particular service type.</param> public DependencyMapLoader(IConstructorResolver constructorResolver, ITypeLoader typeLoader, IServiceLoader serviceLoader, IDefaultServiceResolver defaultServiceResolver) { _constructorResolver = constructorResolver; _typeLoader = typeLoader; _serviceLoader = serviceLoader; _defaultServiceResolver = defaultServiceResolver; }
/// <summary> /// Initializes a new instance of the DependencyMapLoader class. /// </summary> /// <param name="typeLoader">The type loader that will load the service types from each assembly.</param> /// <param name="serviceLoader">The service loader that will load services from a given assembly.</param> /// <param name="defaultServiceResolver">The resolver that will determine the default anonymous implementation for a particular service type.</param> public DependencyMapLoader(ITypeLoader typeLoader, IServiceLoader serviceLoader, IDefaultServiceResolver defaultServiceResolver) : this(new ConstructorResolver(), typeLoader, serviceLoader, defaultServiceResolver) { }