Пример #1
0
 public void Insert <T>(string key, T value, DateTime expiration,
                        IEnumerable <string> tags)
 {
     Precondition.Require(key, () => Error.ArgumentNull("key"));
     _provider.Insert <T>(key, value, expiration, tags);
 }
Пример #2
0
 public static void Insert <T>(this ITaggedCacheProvider provider, string key,
                               T value, DateTime expiration, params string[] tags)
 {
     provider.Insert <T>(key, value, expiration, tags);
 }