private static void RunSystem() { InputHubReader inputHub = GetInputHubReader(); inputHub.StartReading(); PressAnyKeyToExit(); inputHub.Dispose(); }
private static InputHubReader GetInputHubReader() { var inputHub = new InputHubReader { Configuration = configuration, Hub = new Services.MachineProcessesHub(), DumpSystem = new Services.FileDumpSystem() }; return(inputHub); }