C# 클래스 Hiro.Loaders.ModuleLoader

Represents a type that loads IModule instances into memory.
파일 보기 프로젝트 열기: philiplaureano/Hiro 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

LoadModule() 공개 메소드

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

LoadModulesFrom() 공개 메소드

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.
리턴 void

ModuleLoader() 공개 메소드

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.
리턴 System