Exemple #1
0
 public static void AddValue(string question, string value, string[] values, Action <string[]> updateAction, Properties properties)
 {
     fabl.Info(question + ": '" + value + "' ? (y / n)");
     if (GetUserDecision())
     {
         var valueList = values.ToList();
         valueList.Add(value);
         updateAction(CodeGeneratorUtil.GetOrderedNames(valueList.ToArray()));
         Preferences.SaveProperties(properties);
         fabl.Info("Added: " + value);
     }
 }