protected override string InteractiveQuery(IUserInputDescription variable)
        {
            AtLeastOneValueAvailable(variable);

            ValidatedUserInput.WriteQuestion(variable, "Please select one of the given values for '{0}':");
            WriteOptions(variable);

            return(Retry(() => QueryValueFromUser(variable)));
        }
Ejemplo n.º 2
0
        protected override string InteractiveQuery(IUserInputDescription variable)
        {
            ValidatedUserInput.WriteQuestion(variable, "Please enter a valid path which already exists '{0}':");

            return(Retry(() => QueryValueFromUser(variable)));
        }
Ejemplo n.º 3
0
        protected override string InteractiveQuery(IUserInputDescription variable)
        {
            ValidatedUserInput.WriteQuestion(variable, "Please enter a valid double number for '{0}':");

            return(Retry(() => QueryValueFromUser(variable)).ToString(CultureInfo.InvariantCulture));
        }
Ejemplo n.º 4
0
        protected override string InteractiveQuery(IUserInputDescription variable)
        {
            ValidatedUserInput.WriteQuestion(variable, "Please enter a valid time for '{0}':");

            return(Retry(() => QueryValueFromUser(variable)).ToString());
        }