Ejemplo n.º 1
0
 /// <summary>
 /// Gets the typed value from the web application cache.
 /// </summary>
 /// <typeparam name="T">The type of the object to return.</typeparam>
 /// <param name="key">The key the object is stored with.</param>
 public T Get <T>(string key)
 {
     Precondition.Require(key, () => Error.ArgumentNull("key"));
     return(_provider.Get <T>(key));
 }
Ejemplo n.º 2
0
 public T Get <T>(string key)
 {
     return(_provider.Get <T>(key));
 }
Ejemplo n.º 3
0
 public static T Get <T>(this ITaggedCacheProvider provider,
                         string key, CacheItemSelector <T> selector,
                         DateTime expiration, params string[] tags)
 {
     return(provider.Get <T>(key, selector, expiration, tags));
 }