@ -462,5 +462,16 @@ namespace MediaBrowser.Common.Kernel
/// <value>The resource pools.</value>
public ResourcePool ResourcePools { get; set; }
/// <summary>
/// Removes the plugin.
/// </summary>
/// <param name="plugin">The plugin.</param>
public void RemovePlugin(IPlugin plugin)
{
var list = Plugins.ToList();
list.Remove(plugin);
Plugins = list;
}
@ -123,5 +123,12 @@ namespace MediaBrowser.Common.Kernel
ResourcePool ResourcePools { get; set; }
void RemovePlugin(IPlugin plugin);
@ -536,17 +536,6 @@ namespace MediaBrowser.Controller
});
internal void RemovePlugin(IPlugin plugin)
/// Gets the system info.