示例#1
0
 static FastReflectionCaches()
 {
     MethodInvokerCache = new MethodInvokerCache();
     PropertyAccessorCache = new PropertyAccessorCache();
     FieldAccessorCache = new FieldAccessorCache();
     ConstructorInvokerCache = new ConstructorInvokerCache();
 }
示例#2
0
 static FastReflectionCaches()
 {
     MethodInvokerCache      = new MethodInvokerCache();
     PropertyAccessorCache   = new PropertyAccessorCache();
     FieldAccessorCache      = new FieldAccessorCache();
     ConstructorInvokerCache = new ConstructorInvokerCache();
 }
 public void MethodInvokerCacheConstructorTest()
 {
     MethodInvokerCache target = new MethodInvokerCache();
     Assert.IsNotNull(target);
 }
示例#4
0
 public static MethodInvoker Invoker(this MethodInfo methodInfo)
 {
     return(MethodInvokerCache.Get(methodInfo));
 }