public CommandLineToolSwitch(CommandLineToolSwitchType toolType) { this.name = string.Empty; this.falseSuffix = string.Empty; this.trueSuffix = string.Empty; this.separator = string.Empty; this.argumentParameter = string.Empty; this.fallback = string.Empty; this.parents = new LinkedList <string>(); this.overrides = new LinkedList <KeyValuePair <string, string> >(); this.booleanValue = true; this.value = string.Empty; this.switchValue = string.Empty; this.reverseSwitchValue = string.Empty; this.description = string.Empty; this.displayName = string.Empty; this.type = toolType; }
public CommandLineToolSwitch(CommandLineToolSwitchType toolType) { this.name = string.Empty; this.falseSuffix = string.Empty; this.trueSuffix = string.Empty; this.separator = string.Empty; this.argumentParameter = string.Empty; this.fallback = string.Empty; this.parents = new LinkedList<string>(); this.overrides = new LinkedList<KeyValuePair<string, string>>(); this.booleanValue = true; this.value = string.Empty; this.switchValue = string.Empty; this.reverseSwitchValue = string.Empty; this.description = string.Empty; this.displayName = string.Empty; this.type = toolType; }
/// <summary> /// Overloaded constructor. Takes a CommandLineToolSwitchType and sets the type. /// </summary> public CommandLineToolSwitch(CommandLineToolSwitchType toolType) { _type = toolType; }