public void send_getCoinProductsByPgCode(PaymentType appStoreCode, PaymentPgType pgCode, string country, string language) #endif { oprot_.WriteMessageBegin(new TMessage("getCoinProductsByPgCode", TMessageType.Call, seqid_)); getCoinProductsByPgCode_args args = new getCoinProductsByPgCode_args(); args.AppStoreCode = appStoreCode; args.PgCode = pgCode; args.Country = country; args.Language = language; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public List<CoinProductItem> getCoinProductsByPgCode(PaymentType appStoreCode, PaymentPgType pgCode, string country, string language) { #if !SILVERLIGHT send_getCoinProductsByPgCode(appStoreCode, pgCode, country, language); return recv_getCoinProductsByPgCode(); #else var asyncResult = Begin_getCoinProductsByPgCode(null, null, appStoreCode, pgCode, country, language); return End_getCoinProductsByPgCode(asyncResult); #endif }
public IAsyncResult send_getCoinProductsByPgCode(AsyncCallback callback, object state, PaymentType appStoreCode, PaymentPgType pgCode, string country, string language)
public IAsyncResult Begin_getCoinProductsByPgCode(AsyncCallback callback, object state, PaymentType appStoreCode, PaymentPgType pgCode, string country, string language) { return send_getCoinProductsByPgCode(callback, state, appStoreCode, pgCode, country, language); }