Example #1
0
        internal virtual Delegate MakeDelegate(Type delegateType)
        {
            MethodInfo signature  = delegateType.GetMethod("Invoke");
            MethodInfo callMethod = InteropHelpers.BindDelegateSignature(signature, callActionTable, callFuncTable);

            return(Delegate.CreateDelegate(delegateType, this, callMethod));
        }