Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Weird Parameter Passing Behavior

$
0
0
Alright thanks, and hopefully my last question... I am using the Function you provided above for calling methods by name and arguments..

Every time it tries to actually invoke the delegate it errors on the function below.
public TResult InvokeTarget()
            {
                return Invoke(() => (TResult)target());
            }
With a cannot invoke a non-delegate type error.

I know my function exists and is returning a ScriptItem but I have no idea what is going on in the interim.

THanks again for all of your help,
-JC

Viewing all articles
Browse latest Browse all 2297

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>