C# Class TaskBroker.ModHolder

显示文件 Open project: skipme/TaskMQ Class Usage Examples

Public Properties

Property Type Description
ModInterfaces Type>.Dictionary
ModLocalInterfaces Type>.Dictionary
Modules ModMod>.Dictionary
loadedInterfaces string>.Dictionary

Public Methods

Method Description
GetInstanceByName ( string name ) : ModMod
HostModule ( string interfaceName, ModMod mod, IBroker b ) : void
ModHolder ( Broker b ) : System
RegisterInterface ( Type interfaceMod, string assembly ) : void
this ( string name ) : ModMod

Private Methods

Method Description
AddInterfacesFromCurrentDomain ( Broker b ) : void
ExitMod ( string name ) : void
reloadLocalMods ( Broker b ) : void

Method Details

GetInstanceByName() public method

public GetInstanceByName ( string name ) : ModMod
name string
return ModMod

HostModule() public method

public HostModule ( string interfaceName, ModMod mod, IBroker b ) : void
interfaceName string
mod ModMod
b IBroker
return void

ModHolder() public method

public ModHolder ( Broker b ) : System
b Broker
return System

RegisterInterface() public method

public RegisterInterface ( Type interfaceMod, string assembly ) : void
interfaceMod System.Type
assembly string
return void

this() public method

public this ( string name ) : ModMod
name string
return ModMod

Property Details

ModInterfaces public_oe property

public Dictionary ModInterfaces
return Type>.Dictionary

ModLocalInterfaces public_oe property

public Dictionary ModLocalInterfaces
return Type>.Dictionary

Modules public_oe property

public Dictionary Modules
return ModMod>.Dictionary

loadedInterfaces public_oe property

public Dictionary loadedInterfaces
return string>.Dictionary