private CommandLineObjectPickerArgumentValue ReadLineWithAuto(PickObjectBase picker) { if (DisallowInput) { throw new InputDisallowedException("Value required"); } string line = ReadLineWithAuto(picker.GetAutoCompleteIfAny()); return(picker.Parse(line, 0)); }
private CommandLineObjectPickerArgumentValue ReadLine(PickObjectBase picker) { if (DisallowInput) { throw new InputDisallowedException("Value required"); } Console.WriteLine($"Format: {picker.Format}"); string line = ReadLine(picker.GetAutoCompleteIfAny()); return(picker.Parse(line, 0)); }