Beispiel #1
0
        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;
        }
Beispiel #2
0
        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);
        }