コード例 #1
0
ファイル: ClientBase.cs プロジェクト: mdae/MonoRT
            protected object Invoke(string methodName, object [] args)
            {
                var cd = endpoint.Contract;
                var od = cd.Operations.Find(methodName);

                if (od == null)
                {
                    throw new ArgumentException(String.Format("Operation '{0}' not found in the service contract '{1}' in namespace '{2}'", methodName, cd.Name, cd.Namespace));
                }
                return(Inner.Process(od.SyncMethod, methodName, args));
            }
コード例 #2
0
 public object Process(MethodBase method, string operationName, object [] parameters)
 {
     return(client.Process(method, operationName, parameters));
 }