Created
February 28, 2013 09:12
-
-
Save einarwh/5055395 to your computer and use it in GitHub Desktop.
Indexer to lookup an item in the LRU cache.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public TValue this[TKey key] | |
{ | |
get { return Get(key); } | |
set { Add(key, value); } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment