Beispiel #1
0
        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();
        }
Beispiel #2
0
 public CsvProcessor(Config configuration)
 {
     _config = configuration;
     _templatesProvider = new TemplatesProvider(_config);
 }
Beispiel #3
0
 public CsvParser(Config configuration)
 {
     _config = configuration;
 }