Exemplo n.º 1
0
     public DTOSearchResult SearchCPCCar(DTOSearchCondition param)
     {
 #if !SILVERLIGHT
         send_SearchCPCCar(param);
         return(recv_SearchCPCCar());
 #else
         var asyncResult = Begin_SearchCPCCar(null, null, param);
         return(End_SearchCPCCar(asyncResult));
 #endif
     }
Exemplo n.º 2
0
            public void send_SearchCPCCar(DTOSearchCondition param)
      #endif
            {
                oprot_.WriteMessageBegin(new TMessage("SearchCPCCar", TMessageType.Call, seqid_));
                SearchCPCCar_args args = new SearchCPCCar_args();

                args.Param = param;
                args.Write(oprot_);
                oprot_.WriteMessageEnd();
        #if SILVERLIGHT
                return(oprot_.Transport.BeginFlush(callback, state));
        #else
                oprot_.Transport.Flush();
        #endif
            }
Exemplo n.º 3
0
            public void Read(TProtocol iprot)
            {
                iprot.IncrementRecursionDepth();
                try
                {
                    TField field;
                    iprot.ReadStructBegin();
                    while (true)
                    {
                        field = iprot.ReadFieldBegin();
                        if (field.Type == TType.Stop)
                        {
                            break;
                        }
                        switch (field.ID)
                        {
                        case 1:
                            if (field.Type == TType.Struct)
                            {
                                Param = new DTOSearchCondition();
                                Param.Read(iprot);
                            }
                            else
                            {
                                TProtocolUtil.Skip(iprot, field.Type);
                            }
                            break;

                        default:
                            TProtocolUtil.Skip(iprot, field.Type);
                            break;
                        }
                        iprot.ReadFieldEnd();
                    }
                    iprot.ReadStructEnd();
                }
                finally
                {
                    iprot.DecrementRecursionDepth();
                }
            }
Exemplo n.º 4
0
 public IAsyncResult Begin_SearchTaocheCar(AsyncCallback callback, object state, DTOSearchCondition param)
 {
     return(send_SearchTaocheCar(callback, state, param));
 }
Exemplo n.º 5
0
 public IAsyncResult send_SearchCPCCar(AsyncCallback callback, object state, DTOSearchCondition param)