예제 #1
0
 public void send_createSharedNotebook(string authenticationToken, Evernote.EDAM.Type.SharedNotebook sharedNotebook)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("createSharedNotebook", TMessageType.Call, seqid_));
   createSharedNotebook_args args = new createSharedNotebook_args();
   args.AuthenticationToken = authenticationToken;
   args.SharedNotebook = sharedNotebook;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT || NETFX_CORE
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
예제 #2
0
 public void createSharedNotebook_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   createSharedNotebook_args args = new createSharedNotebook_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   createSharedNotebook_result result = new createSharedNotebook_result();
   try {
     result.Success = iface_.createSharedNotebook(args.AuthenticationToken, args.SharedNotebook);
   } catch (Evernote.EDAM.Error.EDAMUserException userException) {
     result.UserException = userException;
   } catch (Evernote.EDAM.Error.EDAMNotFoundException notFoundException) {
     result.NotFoundException = notFoundException;
   } catch (Evernote.EDAM.Error.EDAMSystemException systemException) {
     result.SystemException = systemException;
   }
   oprot.WriteMessageBegin(new TMessage("createSharedNotebook", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
예제 #3
0
 public void send_createSharedNotebook(string authenticationToken, Evernote.EDAM.Type.SharedNotebook sharedNotebook)
 {
     oprot_.WriteMessageBegin(new TMessage("createSharedNotebook", TMessageType.Call, seqid_));
     createSharedNotebook_args args = new createSharedNotebook_args();
     args.AuthenticationToken = authenticationToken;
     args.SharedNotebook = sharedNotebook;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }