Beispiel #1
0
 public static bool TryInvokeMember(this DynamicMetaObject target, IHostInvokeContext context, string name, BindingFlags invokeFlags, object[] args, out object result)
 {
     return(TryDynamicOperation(() => target.InvokeMember(context, name, invokeFlags, args), out result));
 }
Beispiel #2
0
 public static bool TryInvokeMember(this DynamicMetaObject target, ScriptEngine engine, string name, BindingFlags invokeFlags, object[] args, out object result)
 {
     return(TryDynamicOperation(() => target.InvokeMember(engine, name, invokeFlags, args), out result));
 }