public static void Main(string[] args) { Console.WriteLine("Velcome in CSV Utility v." + Assembly.GetExecutingAssembly().GetName().Version); var config = new Config(args); var datestart = DateTime.Now; Console.WriteLine("Processing started at: {0}", datestart); var parser = new CsvParser(config); var processor = new CsvProcessor(config); var data = parser.Parse(); processor.CreateHtmlResult(data); var dateend = DateTime.Now; Console.WriteLine("Total Duration: {0} sec.", (dateend - datestart).TotalSeconds); //Console.ReadKey(); }
public CsvProcessor(Config configuration) { _config = configuration; _templatesProvider = new TemplatesProvider(_config); }
public CsvParser(Config configuration) { _config = configuration; }