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