コード例 #1
0
 private void Button_Click_Remove(object sender, RoutedEventArgs e)
 {
     _vm.Plugin.IsUserActionRequired = false;
     //AcceptedPlugins.Remove(_vm.Plugin.PluginUUID);
     OnAcceptOrDecline?.Invoke(sender, e);
     _vm.UninstallPlugin();
 }
コード例 #2
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);
 }
コード例 #3
0
 private async void Button_Click_Install(object sender, RoutedEventArgs e)
 {
     if (_vm.Load.IsInstalling)
     {
         return;
     }
     _vm.Plugin.IsUserActionRequired = false;
     //AcceptedPlugins.Add(_vm.Plugin.PluginUUID);
     OnAcceptOrDecline?.Invoke(sender, e);
     await _vm.ConfirmInstallOrUpdatePlugin();
 }
コード例 #4
0
 private void Button_Click_Install(object sender, RoutedEventArgs e)
 {
     _vm.IsUserActionRequired = false;
     AcceptedPlugins.Add(_vm.PluginUUID);
     OnAcceptOrDecline?.Invoke(sender, e);
 }