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 }
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 }
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(); } }
public IAsyncResult Begin_SearchTaocheCar(AsyncCallback callback, object state, DTOSearchCondition param) { return(send_SearchTaocheCar(callback, state, param)); }
public IAsyncResult send_SearchCPCCar(AsyncCallback callback, object state, DTOSearchCondition param)