Ejemplo n.º 1
0
        public override DynamicMetaObject BindInvoke(InvokeBinder binder, DynamicMetaObject[] args)
        {
            ContractUtils.RequiresNotNull(binder, "binder");

            ComMethodDesc method;

            if (_self.TryGetGetItem(out method))
            {
                bool[] isByRef = ComBinderHelpers.ProcessArgumentsForCom(ref args);
                return(BindComInvoke(args, method, binder.CallInfo, isByRef));
            }

            return(base.BindInvoke(binder, args));
        }