Skip to content

Instantly share code, notes, and snippets.

@timsavery
Created October 26, 2012 14:52
Show Gist options
  • Save timsavery/3959244 to your computer and use it in GitHub Desktop.
Save timsavery/3959244 to your computer and use it in GitHub Desktop.
The Current Chatham.Libraries.Caching.TypedCache<T> Constructor
public class TypedCache<T> {
private readonly Chatham.Libraries.Stats.IStatsClient _statsClient;
private readonly Chatham.Libraries.Caching.ICacheClient _cacheClient;
public TypedCache() {
this._statsClient = new Chatham.Libraries.Stats.StatsdClient();
this._cacheClient = new Chatham.Libraries.MemcachedClient.MemcachedClient();
}
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment