private static ServiceCall OfMethodCallExpression(MethodCallExpression body) { return(HttpServiceUtil.OfMethodCallExpression(body, (m, i, p) => new ServiceCall { MethodName = m.Name, FullInterfaceName = i.FullName, Params = p.ToArray() } )); }
private static FilterInvocation OfMethodCallExpression(MethodCallExpression body) { return(HttpServiceUtil.OfMethodCallExpression(body, (m, i, _) => new FilterInvocation { InvType = FilterInvocationType.BeforeConnection, FullInterfaceNameOrNull = i.FullName, MethodNameOrNull = m.Name, ResType = ResourceType.RegularPostService } )); }