Esempio n. 1
0
 public void echoTest7()
 {
     using (dynamic l = new ConariX(gCfgUnlib))
     {
         Assert.Equal(0, l.get_IntVal <int>(0));
         Assert.Equal(-456, l.bind <Func <int, int> >("get_IntVal")(-456));
         Assert.Equal(1024, l.bind(Dynamic.GetMethodInfo(typeof(int), typeof(int)), "get_IntVal")
                      .dynamic
                      .Invoke(null, new object[1] {
             1024
         }));
     }
 }