public void Undo() { CpuPriorityOptionsWorker.Delete(_key); Console.WriteLine($"Creation of settings for '{_key}' has been canceled"); }
public void Execute() { _oldPriorityLevel = CpuPriorityOptionsWorker.Delete(_key); Console.WriteLine($"Startup settings have been deleted for '{_key}'" + $" with priority level: {_oldPriorityLevel}"); }