/// <summary> /// Lists functions in a specified extension. /// </summary> /// <param name="module">The extension name.</param> static void ListFunctions(string module) { ICollection functions = null; try { functions = Externals.GetFunctionsByModule(module, false); } catch (Exception e) { Console.WriteLine("Unable to get function list."); Console.WriteLine(e.ToString()); return; } if (functions == null) { Console.WriteLine("Unable to get function list. Extension not loaded."); return; } Console.WriteLine("Functions in " + module + ":"); foreach (string item in functions) { Console.WriteLine(item); } }