Ejemplo n.º 1
0
        private static List <CallParameterInfo> CreateOutParameters(IMethodInvocation input, CallInfo callInfo, IMethodReturn result)
        {
            var outargs = input.MethodBase.GetParameters()
                          .Where(IsOutput)
                          .Select((arg, i) => callInfo.CreateOutParameter(arg.Name, arg.ParameterType, result.Outputs[i]))
                          .ToList();

            return(outargs);
        }