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.
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
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