示例#1
0
        public GoodReadsAPI(IGoodReadsAuthenticator authenticator)
        {
            this.authenticator = authenticator;

            authenticator.AuthenticationCompleted += authenticator_AuthenticationCompleted;
            client = new RestClient(Urls.BaseUrl);
        }
示例#2
0
        public GoodReadsService(IGoodReadsAuthenticator authenticator)
        {
            _api = new GoodReadsAPI(authenticator);

            LoadCache();
        }
示例#3
0
        public GoodReadsService(IGoodReadsAuthenticator authenticator)
        {
            _api = new GoodReadsAPI(authenticator);

            LoadCache();
        }