protected Argument(bool?reportTimings, bool?beVerbose, bool?provideHelp) { this.reportTimings = reportTimings; this.beVerbose = beVerbose; this.provideHelp = provideHelp; this.semantics = OptionSemantics.FlagSet; operandAffinity = OperandAffinity.NoOperand; }
protected Argument(OptionSemantics semantics, String[] values) { this.semantics = semantics; switch (semantics) { case OptionSemantics.Illegal: case OptionSemantics.Unknown: case OptionSemantics.FlagSet: case OptionSemantics.Operand: case OptionSemantics.QuotedOperand: operandAffinity = OperandAffinity.NoOperand; break; default: operandAffinity = OperandAffinity.RequiresOperand; break; } this.operands = values; }
protected Argument(OptionSemantics semantics) { this.semantics = semantics; operandAffinity = OperandAffinity.RequiresOperand; }