public static string ClientInput(API_abstractHandler handler, string conversionType, List <string> userInput) { object result = handler.Handle(conversionType, userInput); if (result != null) { return($"{result}"); } else { return($"{conversionType} was not utilized.\n"); } }
public override string Handle(string request, List <string> userInput) { string getResult = handler.Handle(request, userInput); return(getResult + " (provided by SmartyStreets API)"); }