Esempio n. 1
0
 private CommandLineOption GetOptionOrNull(string name)
 {
     name = CommandLineOption.Normalize(name);
     if (!_options.TryGetValue(name, out var result))
     {
         return(null);
     }
     return(result);
 }
Esempio n. 2
0
        private CommandLineOption GetOptionOrNull(char ch)
        {
            var name = CommandLineOption.Normalize(ch);

            if (!_options.TryGetValue(name, out var result))
            {
                return(null);
            }
            return(result);
        }