![]() |
BotNavSim
v0.4.3
Mobile Robot Simulation
|
Plugin factory utility class instantates interfaces from a DLL assembly file Adapted from: http://stackoverflow.com/questions/5751844/how-to-reference-a-dll-on-runtime More...
Public Member Functions | |
T | CreatePlugin (string file) |
Find and instantiate a type from a specified assembly file (accepts only DLL files) More... | |
List< string > | ListPlugins (string path) |
Lists assembly (DLL) file names that implement the type T. More... | |
Plugin factory utility class instantates interfaces from a DLL assembly file Adapted from: http://stackoverflow.com/questions/5751844/how-to-reference-a-dll-on-runtime
Definition at line 13 of file PluginFactory.cs.
T PluginFactory< T >.CreatePlugin | ( | string | file | ) |
Find and instantiate a type from a specified assembly file (accepts only DLL files)
file | File. |
Definition at line 20 of file PluginFactory.cs.
List<string> PluginFactory< T >.ListPlugins | ( | string | path | ) |
Lists assembly (DLL) file names that implement the type T.
path | Path. |
Definition at line 45 of file PluginFactory.cs.