コード例 #1
0
ファイル: ShopService.cs プロジェクト: Banandana/LineSharp
 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
 }
コード例 #2
0
ファイル: ShopService.cs プロジェクト: Banandana/LineSharp
      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
      }
コード例 #3
0
ファイル: ShopService.cs プロジェクト: Banandana/LineSharp
 public IAsyncResult send_getCoinProductsByPgCode(AsyncCallback callback, object state, PaymentType appStoreCode, PaymentPgType pgCode, string country, string language)
コード例 #4
0
ファイル: ShopService.cs プロジェクト: Banandana/LineSharp
 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);
 }