Init() public method

public Init ( ) : void
return void
Ejemplo n.º 1
0
 public override void Init()
 {
     xPlugin.Init();
     //MethodInfo xMethod = xType.GetMethod("Init");
     //if (xMethod != null)
     //{
     //    xMethod.Invoke(xPlugin, null);
     //}
 }
Ejemplo n.º 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();
        }
Ejemplo n.º 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();
        }