Init() public abstract method

public abstract Init ( PluginManager manager ) : void
manager PluginManager
return void
コード例 #1
0
        public PluginManager(PluginCore core, MainWindow window, Type type)
        {
            MainWindow = window;
            PluginCore = core;

            pluginType = type;
            plugin     = Activator.CreateInstance(type) as Plugin;
            plugin.Init(this);
        }
コード例 #2
0
ファイル: PluginManager.cs プロジェクト: Drenn1/LynnaLab
        public PluginManager(PluginCore core, MainWindow window, Type type)
        {
            MainWindow = window;
            PluginCore = core;

            pluginType = type;
            plugin = Activator.CreateInstance(type) as Plugin;
            plugin.Init(this);
        }