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

            ArgumentProcessor processor = new ArgumentProcessor(logger);
            return processor.Process(commandLineArgs);
        }
Beispiel #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);
        }