public void Execute()
 {
     CpuPriorityOptionsWorker.Create(_key, _priorityLevel);
     Console.WriteLine($"Startup settings have been created for '{_key}'" +
                       $" with priority level: {_priorityLevel}");
 }
Beispiel #2
0
 public void Undo()
 {
     CpuPriorityOptionsWorker.Create(_key, _oldPriorityLevel);
     Console.WriteLine($"Deleting startup settings for '{_key}' canceled");
 }