public void Initialize() { if (PluginLoader.GetInstance().PluginLoaders.TryAdd(typeof(T1), Instance as IPluginLoader)) { Logger.Log($"New PluginLoader added: PluginLoader<{typeof(T1).FullName}>"); } PluginWatcher.GetInstance().AddWatcher(PluginType.FromType <T1>()); LoadPlugins(); }
public void Initialize() { PluginWatcher.GetInstance().AddWatcher(Type, Extension); PluginLoader.GetInstance().PluginLoaders.Add(Type, this); LoadPlugins(); }