public override MetaObject BindInvokeMember(InvokeMemberBinder binder, MetaObject[] args) {
     ContractUtils.RequiresNotNull(binder, "binder");
     return binder.FallbackInvokeMember(UnwrapSelf(), args);
 }
Example #2
0
            public override MetaObject BindInvokeMember(InvokeMemberBinder binder, MetaObject[] args)
            {
                if (IsOverridden("TryInvokeMember"))
                {
                    return(CallMethodWithResult("TryInvokeMember", binder, GetArgArray(args), (e) => binder.FallbackInvokeMember(this, args, e)));
                }

                return(base.BindInvokeMember(binder, args));
            }
Example #3
0
 public override MetaObject/*!*/ BindInvokeMember(InvokeMemberBinder/*!*/ binder, params MetaObject/*!*/[]/*!*/ args) {
     var self = (RubyClass)Value;
     return RubyInvokeMemberBinder.TryBind(self.Context, binder, this, args) ?? binder.FallbackInvokeMember(this, args);
 }
Example #4
0
 public virtual MetaObject BindInvokeMember(InvokeMemberBinder binder, MetaObject[] args)
 {
     ContractUtils.RequiresNotNull(binder, "binder");
     return(binder.FallbackInvokeMember(this, args));
 }
Example #5
0
            public override MetaObject BindInvokeMember(InvokeMemberBinder binder, MetaObject[] args) {
                if (IsOverridden("TryInvokeMember")) {
                    return CallMethodWithResult("TryInvokeMember", binder, GetArgArray(args), (e) => binder.FallbackInvokeMember(this, args, e));
                }

                return base.BindInvokeMember(binder, args);
            }
Example #6
0
 public virtual MetaObject BindInvokeMember(InvokeMemberBinder binder, MetaObject[] args) {
     ContractUtils.RequiresNotNull(binder, "binder");
     return binder.FallbackInvokeMember(this, args);
 }