Ejemplo n.º 1
0
 public bool Add <T>(string key, T value, DateTime expiration,
                     IEnumerable <string> tags)
 {
     Precondition.Require(key, () => Error.ArgumentNull("key"));
     return(_provider.Add <T>(key, value, expiration, tags));
 }
Ejemplo n.º 2
0
 public static bool Add <T>(this ITaggedCacheProvider provider,
                            string key, T value, DateTime expiration, params string[] tags)
 {
     return(provider.Add <T>(key, value, expiration, tags));
 }