Beispiel #1
0
        private static void RunSystem()
        {
            InputHubReader inputHub = GetInputHubReader();

            inputHub.StartReading();

            PressAnyKeyToExit();

            inputHub.Dispose();
        }
Beispiel #2
0
        private static InputHubReader GetInputHubReader()
        {
            var inputHub = new InputHubReader
            {
                Configuration = configuration,
                Hub           = new Services.MachineProcessesHub(),
                DumpSystem    = new Services.FileDumpSystem()
            };

            return(inputHub);
        }