Ejemplo n.º 1
0
        public ArgumentReader(bool showHelp, SwitchArgument helpArg, String error, String syntax, String example, 
            String hints, bool allowUnknownArgs, params IArgument[] args)
        {
            ArgumentList = new List<IArgument>();
            ArgumentList.AddRange(args);

            ShowHelp = showHelp;
            ErrorUsing = error;
            SyntaxUsing = syntax;
            ExampleUsing = example;
            Hints = hints;
            AllowUnknownArgs = allowUnknownArgs;
            HelpArgument = helpArg;
        }
Ejemplo n.º 2
0
 public ArgumentReader(SwitchArgument helpArg, params IArgument[] args)
     : this(true, helpArg, args)
 {
 }
Ejemplo n.º 3
0
 public ArgumentReader(bool showHelp, SwitchArgument helpArg, params IArgument[] args)
     : this(showHelp, helpArg, "", args)
 {
 }
Ejemplo n.º 4
0
 public ArgumentReader(bool showHelp, SwitchArgument helpArg, String error, String syntax, params IArgument[] args)
     : this(showHelp, helpArg, error, syntax, "", args)
 {
 }
Ejemplo n.º 5
0
 public ArgumentReader(bool showHelp, SwitchArgument helpArg, String error, String syntax, String example,
     String hints, params IArgument[] args)
     : this(showHelp, helpArg, error, syntax, example, hints, false, args)
 {
 }
Ejemplo n.º 6
0
 public ArgumentReader(params IArgument[] args)
     : this(SwitchArgument.CreateHelpArgument(SwitchCharacter.Slash), args)
 {
 }
Ejemplo n.º 7
0
 public ArgumentReader(SwitchArgument helpArg, params IArgument[] args)
     : this(true, helpArg, args)
 {
 }
Ejemplo n.º 8
0
 public ArgumentReader(bool showHelp, SwitchArgument helpArg, params IArgument[] args)
     : this(showHelp, helpArg, "", args)
 {
 }
Ejemplo n.º 9
0
 public ArgumentReader(bool showHelp, SwitchArgument helpArg, String error, String syntax, params IArgument[] args)
     : this(showHelp, helpArg, error, syntax, "", args)
 {
 }
Ejemplo n.º 10
0
 public ArgumentReader(bool showHelp, SwitchArgument helpArg, String error, String syntax, String example,
                       String hints, params IArgument[] args)
     : this(showHelp, helpArg, error, syntax, example, hints, false, args)
 {
 }