Example #1
0
            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");
                }
            }
Example #2
0
            public override string Handle(string request, List <string> userInput)
            {
                string getResult = handler.Handle(request, userInput);

                return(getResult + " (provided by SmartyStreets API)");
            }