Ejemplo n.º 1
0
 public byte[] Retrieve(string hash)
 {
     return(cacheAdapter.Get <byte[]>(BuildKey(hash)));
 }
Ejemplo n.º 2
0
 public CachedValuesViewModel(IDotvvmCacheAdapter cacheAdapter)
 {
     this.cacheAdapter = cacheAdapter;
     Text = cacheAdapter.Get <string>(key);
 }