public IOPlugin GetPlugin() { Type type = TypeFinder.FindType(PluginType); if (type == null) return null; plugin = Activator.CreateInstance(type, Location) as IOPlugin; TypeFinder.MapDictionary(plugin, parameters); return plugin; }
public IOPlugin GetPlugin() { Type type = TypeFinder.FindType(PluginType); if (type == null) { return(null); } plugin = Activator.CreateInstance(type, Location) as IOPlugin; TypeFinder.MapDictionary(plugin, parameters); return(plugin); }