Exemplo n.º 1
0
        //---------------------------------------------------------------------

        public void AddPlugIn(string name,
                              string type,
                              string implementationName)
        {
            plugIns[name] = new PlugIns.PlugInInfo(name,
                                                   new PlugIns.PlugInType(type),
                                                   implementationName);
        }
        //---------------------------------------------------------------------

        public void AddPlugIn(string name,
                              string type,
                              string implementationName)
        {
            plugIns[name] = new PlugIns.PlugInInfo(name,
                                                   new PlugIns.PlugInType(type),
                                                   implementationName);
        }
Exemplo n.º 3
0
        //---------------------------------------------------------------------

        /// <summary>
        /// Initialize a new instance.
        /// </summary>
        /// <param name="plugInInfo">
        /// Information about the plug-in.
        /// </param>
        /// <param name="initFile">
        /// The path to the plug-in's initialization file.
        /// </param>
        public PlugInAndInitFile(PlugIns.PlugInInfo plugInInfo,
                                 string initFile)
        {
            this.info     = plugInInfo;
            this.initFile = initFile;
        }
        //---------------------------------------------------------------------

        /// <summary>
        /// Initialize a new instance.
        /// </summary>
        /// <param name="plugInInfo">
        /// Information about the plug-in.
        /// </param>
        /// <param name="initFile">
        /// The path to the plug-in's initialization file.
        /// </param>
        public PlugInAndInitFile(PlugIns.PlugInInfo plugInInfo,
                                 string             initFile)
        {
            this.info = plugInInfo;
            this.initFile = initFile;
        }