Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            var parser    = new ArgParser(); // Can move statement inside Parsing() method, as this has no other use in this function
            var arguments = Parsing(parser, args);

            if (arguments.CheckArgs())
            {
                var conv = new ConverterFromLogToCSV();
                try
                {
                    conv.convert(arguments);
                    Console.WriteLine("Data conveted Successfully");
                }
                catch (Exception es)
                {
                    Console.WriteLine(es);
                }
            }
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            var parser    = new ArgParser();
            var arguments = Parsing(parser, args);

            if (arguments.CheckArgs())
            {
                var conv = new ConverterFromLogToCSV();
                try
                {
                    conv.convert(arguments);
                    Console.WriteLine("Data conveted Successfully");
                }
                catch (Exception es)
                {
                    Console.WriteLine(es);
                }
            }
        }