コード例 #1
0
 public void send_getResourceByHash(string authenticationToken, string noteGuid, byte[] contentHash, bool withData, bool withRecognition, bool withAlternateData)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("getResourceByHash", TMessageType.Call, seqid_));
   getResourceByHash_args args = new getResourceByHash_args();
   args.AuthenticationToken = authenticationToken;
   args.NoteGuid = noteGuid;
   args.ContentHash = contentHash;
   args.WithData = withData;
   args.WithRecognition = withRecognition;
   args.WithAlternateData = withAlternateData;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT || NETFX_CORE
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
コード例 #2
0
ファイル: NoteStore.cs プロジェクト: trayburn/EverGTD
 public void send_getResourceByHash(string authenticationToken, string noteGuid, byte[] contentHash, bool withData, bool withRecognition)
 {
     oprot_.WriteMessageBegin(new TMessage("getResourceByHash", TMessageType.Call, seqid_));
     getResourceByHash_args args = new getResourceByHash_args();
     args.AuthenticationToken = authenticationToken;
     args.NoteGuid = noteGuid;
     args.ContentHash = contentHash;
     args.WithData = withData;
     args.WithRecognition = withRecognition;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }