static FastReflectionCaches() { MethodInvokerCache = new MethodInvokerCache(); PropertyAccessorCache = new PropertyAccessorCache(); FieldAccessorCache = new FieldAccessorCache(); ConstructorInvokerCache = new ConstructorInvokerCache(); }
static FastReflectionCaches() { MethodInvokerCache = new MethodInvokerCache(); PropertyAccessorCache = new PropertyAccessorCache(); FieldAccessorCache = new FieldAccessorCache(); ConstructorInvokerCache = new ConstructorInvokerCache(); }
public void MethodInvokerCacheConstructorTest() { MethodInvokerCache target = new MethodInvokerCache(); Assert.IsNotNull(target); }
public static MethodInvoker Invoker(this MethodInfo methodInfo) { return(MethodInvokerCache.Get(methodInfo)); }