public TkApi(TkRestCache tk) { this.tk = tk; tk.CacheTimeout = CacheTimeout; // TODO: We should not modify the CacheTimeout }
public TkApi(string consumerKey, string consumerSecret, string accessToken, string accessSecret) { tk = new TkRestCache(consumerKey, consumerSecret, accessToken, accessSecret); tk.CacheTimeout = CacheTimeout; }