コード例 #1
0
 private static ServiceCall OfMethodCallExpression(MethodCallExpression body)
 {
     return(HttpServiceUtil.OfMethodCallExpression(body, (m, i, p) =>
                                                   new ServiceCall {
         MethodName = m.Name,
         FullInterfaceName = i.FullName,
         Params = p.ToArray()
     }
                                                   ));
 }
コード例 #2
0
 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
     }
                                                   ));
 }