Exemple #1
0
        internal NoteStore.Client GetNoteStoreClient(ThriftHttpClient httpClient)
        {
            if (string.IsNullOrEmpty(this.authToken))
            {
                throw new InvalidOperationException("Log in to Evernote first");
            }

            return(new NoteStore.Client(httpClient.Protocol));
        }
Exemple #2
0
 /// <summary>
 /// create a EDAM UserStore client.
 /// </summary>
 internal UserStore.Client GetUserStoreClient(ThriftHttpClient httpClient)
 {
     return(new UserStore.Client(httpClient.Protocol));
 }
Exemple #3
0
        internal NoteStore.Client GetNoteStoreClient(ThriftHttpClient httpClient)
        {
            if (string.IsNullOrEmpty(this.authToken))
                throw new InvalidOperationException("Log in to Evernote first");

            return new NoteStore.Client(httpClient.Protocol);
        }
Exemple #4
0
 /// <summary>
 /// create a EDAM UserStore client.
 /// </summary>
 internal UserStore.Client GetUserStoreClient(ThriftHttpClient httpClient)
 {
     return new UserStore.Client(httpClient.Protocol);
 }