private static MethodDeclaration GenerateInterfaceMethod(InterfaceDeclaration clientInterface, Method method, TypeReference requestType)
        {
            var m = clientInterface.AddMember(new MethodDeclaration(GetMethodName(method)));

            GenerateMethodSignature(method, m, requestType, out _, out _, out _);
            return(m);
        }
예제 #2
0
        private MethodDeclaration GenerateInterfaceMethod(InterfaceDeclaration clientInterface, Method method)
        {
            var m = clientInterface.AddMember(new MethodDeclaration(method.Name + "Async"));

            GenerateMethodSignature(method, m, out _, out _, out _, out _);
            return(m);
        }