public ProcessHandler(IEnumerable<IGameChecker> gameCheckers) { running = true; this.gameCheckers = new List<IGameChecker>(gameCheckers); finder = new SimpleProcessFinder(); finder.ProcessStarted += finder_ProcessStarted; finder.ProcessStopped += finder_ProcessStopped; Console.WriteLine("EVT | Initial sweep"); initialSweep = true; finder.FindAll(); initialSweep = false; Console.WriteLine("EVT | Initial sweep complete"); Console.WriteLine("EVT | Initial affinity assignment"); AssignGameMode(); Console.WriteLine("EVT | Initial affinity assignment complete"); }
public ProcessHandler(IEnumerable <IGameChecker> gameCheckers) { running = true; this.gameCheckers = new List <IGameChecker>(gameCheckers); finder = new SimpleProcessFinder(); finder.ProcessStarted += finder_ProcessStarted; finder.ProcessStopped += finder_ProcessStopped; Console.WriteLine("EVT | Initial sweep"); initialSweep = true; finder.FindAll(); initialSweep = false; Console.WriteLine("EVT | Initial sweep complete"); Console.WriteLine("EVT | Initial affinity assignment"); AssignGameMode(); Console.WriteLine("EVT | Initial affinity assignment complete"); }