Exemplo n.º 1
0
 public void send_createSearch(string authenticationToken, Evernote.EDAM.Type.SavedSearch search)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("createSearch", TMessageType.Call, seqid_));
   createSearch_args args = new createSearch_args();
   args.AuthenticationToken = authenticationToken;
   args.Search = search;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT || NETFX_CORE
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Exemplo n.º 2
0
 public void createSearch_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   createSearch_args args = new createSearch_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   createSearch_result result = new createSearch_result();
   try {
     result.Success = iface_.createSearch(args.AuthenticationToken, args.Search);
   } catch (Evernote.EDAM.Error.EDAMUserException userException) {
     result.UserException = userException;
   } catch (Evernote.EDAM.Error.EDAMSystemException systemException) {
     result.SystemException = systemException;
   }
   oprot.WriteMessageBegin(new TMessage("createSearch", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Exemplo n.º 3
0
 public void send_createSearch(string authenticationToken, Evernote.EDAM.Type.SavedSearch search)
 {
     oprot_.WriteMessageBegin(new TMessage("createSearch", TMessageType.Call, seqid_));
     createSearch_args args = new createSearch_args();
     args.AuthenticationToken = authenticationToken;
     args.Search = search;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }