Пример #1
0
 public void EnablePlugin(IPluginInstaller plugin)
 {
     // TODO: Still not safe, but it'll have to do for now.
     if (PluginInstallers.Any(ipi => Object.ReferenceEquals(plugin, ipi.Value)))
     {
         plugin.RegisterPluginContents(_container);
     }
 }