コード例 #1
0
        public OptionsParser WithOption <T>(char shortName, string longName)
        {
            var option = new CommandLineOptionDescriptor(shortName, longName, typeof(T));

            options.Add(option);
            return(this);
        }
コード例 #2
0
 public CommandLineOption(CommandLineOptionDescriptor descriptor) : base(descriptor)
 {
 }