Hi I\'m trying to create a function that dynamically creates a delegate with the same return value and the same parameters as a MethodInfo it receives as parameter and also
The open source framework ImpromptuInterface (v5.6.7 via nuget) has a DLR currying/partial apply implementation that I think would work in this case as long as you don't need a literal delegate.
Here is the c# version of creating it and invoking it:
dynamic jump =Impromptu.Curry(adam).Jump();
jump(cheer:"yay", height:(uint)3);
So jump isn't a literal delegate, you cannot reflect it, but you can invoke it directly as if it were a delegate and it's a DLR object so my guess is that it would work just the same in python.