Method | Description | |
---|---|---|
DependencyMapLoader ( ) : System |
Initializes a new instance of the DependencyMapLoader class.
|
|
DependencyMapLoader ( IConstructorResolver constructorResolver ) : System |
Initializes a new instance of the DependencyMapLoader class.
|
|
DependencyMapLoader ( IConstructorResolver constructorResolver, ITypeLoader typeLoader, IServiceLoader serviceLoader, IDefaultServiceResolver defaultServiceResolver ) : System |
Initializes a new instance of the DependencyMapLoader class.
|
|
DependencyMapLoader ( ITypeLoader typeLoader, IServiceLoader serviceLoader, IDefaultServiceResolver defaultServiceResolver ) : System |
Initializes a new instance of the DependencyMapLoader class.
|
|
LoadFrom ( |
Loads a dependency map using the types in the given assembly.
|
|
LoadFrom ( IEnumerable |
Loads a dependency map using the types in the given assemblies.
|
|
LoadFrom ( string directory, string filePattern ) : DependencyMap |
Loads a dependency map using the assemblies located in the target directory.
|
|
LoadFrom ( string directory, string filePattern, IAssemblyLoader assemblyLoader ) : DependencyMap |
Loads a dependency map using the assemblies located in the target directory.
|
|
LoadFromBaseDirectory ( string filePattern ) : DependencyMap |
Loads a dependency map using the assemblies located in the base application directory.
|
|
LoadFromBaseDirectory ( string filePattern, IAssemblyLoader assemblyLoader ) : DependencyMap |
Loads a dependency map using the assemblies located in the base application directory.
|
Method | Description | |
---|---|---|
GetDefaultServices ( IDictionary |
Gets the list of default services from a given service list.
|
|
GetServiceList ( IEnumerable |
Obtains a list of services (grouped by type) from the list of assemblies.
|
|
RegisterNamedFactoryType ( System type, IImplementation>.IDictionary |
Registers a type as a factory type if it implements the IFactory{T} interface.
|
|
RegisterServicesFrom ( IEnumerable |
Registers services from the given list of assemblies.
|
public DependencyMapLoader ( IConstructorResolver constructorResolver ) : System | ||
constructorResolver | IConstructorResolver | |
return | System |
public DependencyMapLoader ( IConstructorResolver constructorResolver, ITypeLoader typeLoader, IServiceLoader serviceLoader, IDefaultServiceResolver defaultServiceResolver ) : System | ||
constructorResolver | IConstructorResolver | |
typeLoader | ITypeLoader | The type loader that will load the service types from each assembly. |
serviceLoader | IServiceLoader | The service loader that will load services from a given assembly. |
defaultServiceResolver | IDefaultServiceResolver | The resolver that will determine the default anonymous implementation for a particular service type. |
return | System |
public DependencyMapLoader ( ITypeLoader typeLoader, IServiceLoader serviceLoader, IDefaultServiceResolver defaultServiceResolver ) : System | ||
typeLoader | ITypeLoader | The type loader that will load the service types from each assembly. |
serviceLoader | IServiceLoader | The service loader that will load services from a given assembly. |
defaultServiceResolver | IDefaultServiceResolver | The resolver that will determine the default anonymous implementation for a particular service type. |
return | System |
public LoadFrom ( |
||
assembly | The assembly that will be used to construct the dependency map. | |
return | DependencyMap |
public LoadFrom ( IEnumerable |
||
assemblies | IEnumerable |
The list of assemblies that will be used to construct the dependency map. |
return | DependencyMap |
public LoadFrom ( string directory, string filePattern ) : DependencyMap | ||
directory | string | The directory that contains the assemblies that will be loaded into the dependency map. |
filePattern | string | The search pattern that describes which assemblies will be loaded. |
return | DependencyMap |
public LoadFrom ( string directory, string filePattern, IAssemblyLoader assemblyLoader ) : DependencyMap | ||
directory | string | The directory that contains the assemblies that will be loaded into the dependency map. |
filePattern | string | The search pattern that describes which assemblies will be loaded. |
assemblyLoader | IAssemblyLoader | The assembly loader that will load assemblies into memory. |
return | DependencyMap |
public LoadFromBaseDirectory ( string filePattern ) : DependencyMap | ||
filePattern | string | The search pattern that describes which assemblies will be loaded. |
return | DependencyMap |
public LoadFromBaseDirectory ( string filePattern, IAssemblyLoader assemblyLoader ) : DependencyMap | ||
filePattern | string | The search pattern that describes which assemblies will be loaded. |
assemblyLoader | IAssemblyLoader | The assembly loader that will load assemblies into memory. |
return | DependencyMap |