/// <summary> /// </summary> public void UnloadPlugins() { foreach (var pluginInstance in Loaded.Cast <PluginInstance>() .Where(pluginInstance => pluginInstance.Instance != null)) { pluginInstance.Instance.Dispose(); } Loaded.Clear(); }
/// <summary> /// </summary> public void UnloadPlugins() { foreach (var pluginInstance in Loaded.Cast <PluginInstance>() .Where(pluginInstance => pluginInstance.Instance != null)) { pluginInstance.Instance.Dispose(); } Loaded.Clear(); }