示例#1
0
        public PluginManager(IPluginConfig config, string pluginFolder, string pluginDataFolder)
        {
            this.Config = config;
            this.Config.PluginChangedState += Config_PluginChangedState;

            this.pluginFolder     = pluginFolder;
            this.pluginDataFolder = pluginDataFolder;

            this.bridge = new PluginBridge(this);
        }
示例#2
0
 public PluginSchemeHandler(ResourceCache resourceCache, PluginManager pluginManager)
 {
     this.resourceCache = resourceCache;
     this.bridge        = pluginManager.bridge;
 }