Пример #1
0
 public void send_getNoteSearchText(string authenticationToken, string guid, bool noteOnly, bool tokenizeForIndexing)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("getNoteSearchText", TMessageType.Call, seqid_));
   getNoteSearchText_args args = new getNoteSearchText_args();
   args.AuthenticationToken = authenticationToken;
   args.Guid = guid;
   args.NoteOnly = noteOnly;
   args.TokenizeForIndexing = tokenizeForIndexing;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT || NETFX_CORE
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Пример #2
0
 public void getNoteSearchText_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getNoteSearchText_args args = new getNoteSearchText_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getNoteSearchText_result result = new getNoteSearchText_result();
   try {
     result.Success = iface_.getNoteSearchText(args.AuthenticationToken, args.Guid, args.NoteOnly, args.TokenizeForIndexing);
   } catch (Evernote.EDAM.Error.EDAMUserException userException) {
     result.UserException = userException;
   } catch (Evernote.EDAM.Error.EDAMSystemException systemException) {
     result.SystemException = systemException;
   } catch (Evernote.EDAM.Error.EDAMNotFoundException notFoundException) {
     result.NotFoundException = notFoundException;
   }
   oprot.WriteMessageBegin(new TMessage("getNoteSearchText", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Пример #3
0
 public void send_getNoteSearchText(string authenticationToken, string guid, bool noteOnly, bool tokenizeForIndexing)
 {
   oprot_.WriteMessageBegin(new TMessage("getNoteSearchText", TMessageType.Call, seqid_));
   getNoteSearchText_args args = new getNoteSearchText_args();
   args.AuthenticationToken = authenticationToken;
   args.Guid = guid;
   args.NoteOnly = noteOnly;
   args.TokenizeForIndexing = tokenizeForIndexing;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   oprot_.Transport.Flush();
 }