Antmicro.OptionsParser.CommandLineOptionDescriptor.CommandLineOptionDescriptor C# (CSharp) Method

CommandLineOptionDescriptor() public method

public CommandLineOptionDescriptor ( char shortName, string longName, Type type ) : System
shortName char
longName string
type System.Type
return System
        public CommandLineOptionDescriptor(char shortName, string longName, Type type)
            : this()
        {
            ShortName = shortName;
            LongName = longName;
            OptionType = type;

            AcceptsArgument = (OptionType != typeof(bool));
            AllowMultipleOccurences = false;
        }

Same methods

CommandLineOptionDescriptor::CommandLineOptionDescriptor ( ) : System
CommandLineOptionDescriptor::CommandLineOptionDescriptor ( PropertyInfo pinfo ) : System
CommandLineOptionDescriptor::CommandLineOptionDescriptor ( char shortName, Type type ) : System
CommandLineOptionDescriptor::CommandLineOptionDescriptor ( string longName, Type type ) : System
CommandLineOptionDescriptor