public void send_lookupNearby(Location location, SpotCategory category, string query, string countryAreaCode) { oprot_.WriteMessageBegin(new TMessage("lookupNearby", TMessageType.Call, seqid_)); lookupNearby_args args = new lookupNearby_args(); args.Location = location; args.Category = category; args.Query = query; args.CountryAreaCode = countryAreaCode; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }
public IAsyncResult send_lookupNearby(AsyncCallback callback, object state, Location location, SpotCategory category, string query, string countryAreaCode) { oprot_.WriteMessageBegin(new TMessage("lookupNearby", TMessageType.Call, seqid_)); lookupNearby_args args = new lookupNearby_args(); args.Location = location; args.Category = category; args.Query = query; args.CountryAreaCode = countryAreaCode; args.Write(oprot_); oprot_.WriteMessageEnd(); return(oprot_.Transport.BeginFlush(callback, state)); }
public void send_lookupNearby(Location location, SpotCategory category, string query, string countryAreaCode) #endif { oprot_.WriteMessageBegin(new TMessage("lookupNearby", TMessageType.Call, seqid_)); lookupNearby_args args = new lookupNearby_args(); args.Location = location; args.Category = category; args.Query = query; args.CountryAreaCode = countryAreaCode; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return(oprot_.Transport.BeginFlush(callback, state)); #else oprot_.Transport.Flush(); #endif }