Inheritance: NFBehaviour
Beispiel #1
0
        public NFCDynLib(string strLibName)
        {
            mstrLibName = strLibName;
            mstrPluginName = "NFrame." + mstrLibName.Substring(0, mstrLibName.LastIndexOf("."));

            xAssembly = Assembly.LoadFrom(mstrLibName);
            xType = xAssembly.GetType(mstrPluginName);
            xPlugin = Activator.CreateInstance(xType) as NFIPlugin;
        }
Beispiel #2
0
        public NFCDynLib(string strLibName, NFIPluginManager xMng)
        {
            mstrLibName    = strLibName;
            mstrPluginName = "NFrame." + mstrLibName.Substring(0, mstrLibName.LastIndexOf("."));

            xAssembly = Assembly.LoadFrom(mstrLibName);
            xType     = xAssembly.GetType(mstrPluginName);

            xPlugin = Activator.CreateInstance(xType) as NFIPlugin;
            xPlugin.SetMng(xMng);

            //xPlugin.Install();
            xPlugin.Init();
            xPlugin.AfterInit();
        }
Beispiel #3
0
        public NFCDynLib(string strLibName, NFIPluginManager xMng)
        {
            mstrLibName = strLibName;
            mstrPluginName = "NFrame." + mstrLibName.Substring(0, mstrLibName.LastIndexOf("."));

            xAssembly = Assembly.LoadFrom(mstrLibName);
            xType = xAssembly.GetType(mstrPluginName);

            xPlugin = Activator.CreateInstance(xType) as NFIPlugin;
            xPlugin.SetMng(xMng);

            //xPlugin.Install();
            xPlugin.Init();
            xPlugin.AfterInit();
        }