#region 卸载插件
/// <summary>
/// 卸载插件
/// </summary>
/// <param name="classFullName"></param>
public static void UnInstallPlugin(string classFullName)
{
List<PluginInfo> allPlugins = new List<PluginInfo>();
foreach (var pluginsList in IntalledPlugins.Values)
{
allPlugins.AddRange(pluginsList);
}
PluginInfo pluginInfo = allPlugins.FirstOrDefault(item => item.ClassFullName == classFullName);
if (pluginInfo == null)
Log.Warn(string.Format("卸载插件{0}时没有找到插件信息"