Ejemplo n.º 1
0
 static FastReflectionCaches()
 {
     MethodInvokerCache = new MethodInvokerCache();
     PropertyAccessorCache = new PropertyAccessorCache();
     FieldAccessorCache = new FieldAccessorCache();
     ConstructorInvokerCache = new ConstructorInvokerCache();
 }
Ejemplo n.º 2
0
 static FastReflectionCaches()
 {
     MethodInvokerCache      = new MethodInvokerCache();
     PropertyAccessorCache   = new PropertyAccessorCache();
     FieldAccessorCache      = new FieldAccessorCache();
     ConstructorInvokerCache = new ConstructorInvokerCache();
 }
Ejemplo n.º 3
0
 public static ConstructorInvoker Invoker(this ConstructorInfo constructorInfo)
 {
     return(ConstructorInvokerCache.Get(constructorInfo));
 }
 public void ConstructorInvokerCacheConstructorTest()
 {
     ConstructorInvokerCache target = new ConstructorInvokerCache();
     Assert.IsNotNull(target);
 }