コード例 #1
0
 /// <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;
 }
コード例 #2
0
ファイル: DependencyMapLoader.cs プロジェクト: xerxesb/Hiro
 /// <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;
 }
コード例 #3
0
 /// <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)
 {
 }
コード例 #4
0
ファイル: DependencyMapLoader.cs プロジェクト: xerxesb/Hiro
 /// <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)
 {
 }