コード例 #1
0
ファイル: TalkService.cs プロジェクト: Banandana/LineSharp
 public void send_getProfile()
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("getProfile", TMessageType.Call, seqid_));
   getProfile_args args = new getProfile_args();
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
コード例 #2
0
 public void send_getProfile(int userId, int targetId, string username, Session session)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("getProfile", TMessageType.Call, seqid_));
   getProfile_args args = new getProfile_args();
   args.UserId = userId;
   args.TargetId = targetId;
   args.Username = username;
   args.Session = session;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }