Exemplo n.º 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));
        }
Exemplo n.º 2
0
 /// <summary>
 /// create a EDAM UserStore client.
 /// </summary>
 internal UserStore.Client GetUserStoreClient(ThriftHttpClient httpClient)
 {
     return(new UserStore.Client(httpClient.Protocol));
 }
Exemplo n.º 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);
        }
Exemplo n.º 4
0
 /// <summary>
 /// create a EDAM UserStore client.
 /// </summary>
 internal UserStore.Client GetUserStoreClient(ThriftHttpClient httpClient)
 {
     return new UserStore.Client(httpClient.Protocol);
 }