public void send_Add(Customer customer) #endif { oprot_.WriteMessageBegin(new TMessage("Add", TMessageType.Call, seqid_)); Add_args args = new Add_args(); args.Customer = customer; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return(oprot_.Transport.BeginFlush(callback, state)); #else oprot_.Transport.Flush(); #endif }
public void send_Add(int userId, string userName) #endif { oprot_.WriteMessageBegin(new TMessage("Add", TMessageType.Call, seqid_)); Add_args args = new Add_args(); args.UserId = userId; args.UserName = userName; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return(oprot_.Transport.BeginFlush(callback, state)); #else oprot_.Transport.Flush(); #endif }
public void send_Add(Customer customer) #endif { oprot_.WriteMessageBegin(new TMessage("Add", TMessageType.Call, seqid_)); Add_args args = new Add_args(); args.Customer = customer; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }