Exemplo n.º 1
0
 public void send_copyNote(string authenticationToken, string noteGuid, string toNotebookGuid)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("copyNote", TMessageType.Call, seqid_));
   copyNote_args args = new copyNote_args();
   args.AuthenticationToken = authenticationToken;
   args.NoteGuid = noteGuid;
   args.ToNotebookGuid = toNotebookGuid;
   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 copyNote_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   copyNote_args args = new copyNote_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   copyNote_result result = new copyNote_result();
   try {
     result.Success = iface_.copyNote(args.AuthenticationToken, args.NoteGuid, args.ToNotebookGuid);
   } 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("copyNote", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Exemplo n.º 3
0
 public void send_copyNote(string authenticationToken, string noteGuid, string toNotebookGuid)
 {
     oprot_.WriteMessageBegin(new TMessage("copyNote", TMessageType.Call, seqid_));
     copyNote_args args = new copyNote_args();
     args.AuthenticationToken = authenticationToken;
     args.NoteGuid = noteGuid;
     args.ToNotebookGuid = toNotebookGuid;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }