public static ProcessedArgs TryProcessArguments(string[] commandLineArgs, ILogger logger)
        {
            if (logger == null)
            {
                throw new ArgumentNullException("logger");
            }

            ArgumentProcessor processor = new ArgumentProcessor(logger);
            return processor.Process(commandLineArgs);
        }
Exemple #2
0
        public static ProcessedArgs TryProcessArguments(string[] commandLineArgs, ILogger logger)
        {
            if (logger == null)
            {
                throw new ArgumentNullException("logger");
            }

            ArgumentProcessor processor = new ArgumentProcessor(logger);
            return processor.Process(commandLineArgs);
        }