示例#1
0
 public static TDelegate InvokerAs <TDelegate>(this ConstructorInfo constructorInfo)
     where TDelegate : class
 {
     return((TDelegate)(object)ConstructorDelegateCache.InvokerAs(constructorInfo, typeof(TDelegate)));
 }
示例#2
0
 public static Delegate InvokerAs(this ConstructorInfo constructorInfo, Type delegateType)
 {
     return(ConstructorDelegateCache.InvokerAs(constructorInfo, delegateType));
 }