C# Class Hiro.Loaders.ModuleLoader

Represents a type that loads IModule instances into memory.
Afficher le fichier Open project: philiplaureano/Hiro Class Usage Examples

Méthodes publiques

Méthode Description
LoadModule ( IModule module ) : void

Loads a module into memory so that it can configure a dependency map.

LoadModulesFrom ( string targetDirectory, string fileSpec = "*.dll" ) : void

Loads modules from the given targetDirectory.

ModuleLoader ( DependencyMap dependencyMap ) : System

Initializes a new instance of the ModuleLoader class.

Method Details

LoadModule() public méthode

Loads a module into memory so that it can configure a dependency map.
public LoadModule ( IModule module ) : void
module IModule /// The target module. ///
Résultat void

LoadModulesFrom() public méthode

Loads modules from the given targetDirectory.
public LoadModulesFrom ( string targetDirectory, string fileSpec = "*.dll" ) : void
targetDirectory string The target directory that contains the assemblies.
fileSpec string The file search pattern that describes the names of the assemblies that will be loaded.
Résultat void

ModuleLoader() public méthode

Initializes a new instance of the ModuleLoader class.
public ModuleLoader ( DependencyMap dependencyMap ) : System
dependencyMap DependencyMap The dependency map that will be configured by the module loader.
Résultat System