示例#1
0
        private CallParameterInfo CreateParameter(ParameterType parameterType, string name, Type type, object value)
        {
            var result = new CallParameterInfo(TypeMap)
            {
                ParameterType = parameterType, Name = name
            };

            result.AssignValue(type, value);
            return(result);
        }
示例#2
0
 public void SetParameters(IList <CallParameterInfo> input, IList <CallParameterInfo> output, CallParameterInfo result)
 {
     Parameters = input
                  .Concat(output)
                  .Concat(new[] { result })
                  .ToArray();
 }