示例#1
0
 private void Button_Click_Remove(object sender, RoutedEventArgs e)
 {
     _vm.IsUserActionRequired = false;
     AcceptedPlugins.Remove(_vm.PluginUUID);
     MinerPluginsManager.RemovePlugin(_vm.PluginUUID);
     OnAcceptOrDecline?.Invoke(sender, e);
 }
 private async void Button_Click_Uninstall(object sender, RoutedEventArgs e)
 {
     AcceptedPlugins.Remove(_vm.Plugin.PluginUUID);
     PluginActionsButtonContext.IsOpen = false;
     await _vm.UninstallPlugin();
 }