Пример #1
0
            private string Format(ICall call)
            {
                var methodInfo = call.GetMethodInfo();
                var args       = methodInfo.GetParameters()
                                 .Zip(call.GetArguments(), (p, a) => new ArgAndParamInfo(p, a))
                                 .ToArray();

                return(_callFormatter.Format(methodInfo, FormatArgs(args)));
            }
Пример #2
0
 private string Format(ICall call)
 {
     return(_callFormatter.Format(call.GetMethodInfo(), FormatArgs(call.GetArguments())));
 }