public static void ExecuteStrategy() { var logFileReader = new Strategy.LogFileReader(); var fileLogProcessor = new LogProcessor(logFileReader.Read); fileLogProcessor.ProcessLogs(); fileLogProcessor.Logs.ForEach(Console.WriteLine); var windowsEventLogReader = new WindowsEventLogReader(); var windowsEventsLogProcessor = new LogProcessor(windowsEventLogReader.Read); windowsEventsLogProcessor.ProcessLogs(); windowsEventsLogProcessor.Logs.ForEach(Console.WriteLine); }