static LibTable() { s_func_map = new Dictionary <string, ICall>() { { "count", ICall.Create(GetCount) }, }; }
static LibString() { s_func_map = new Dictionary <string, ICall>() { { "join", ICall.Create(Join) }, }; }
static ExtString() { s_func_map = new Dictionary <string, ICall>(StringComparer.OrdinalIgnoreCase) { { "sub", ICall.Create(Sub) }, { "join", ICall.Create(Join) }, }; }
public MyConsole() { m_items.Add("test", ICall.Create(Test)); }