示例#1
0
 public static void Insert(string key, object obj, int seconds, CacheItemPriority priority)
 {
     TCache.Insert(key, obj, seconds, priority);
 }
示例#2
0
 public static void Insert(string key, object obj, int seconds)
 {
     TCache.Insert(key, obj, seconds);
 }
示例#3
0
 public static void Insert(string key, object obj, CacheDependency dep)
 {
     TCache.Insert(key, obj, dep);
 }
示例#4
0
 /// <summary>
 /// Insert the current "obj" into the cache.
 /// </summary>
 /// <param name="key"></param>
 /// <param name="obj"></param>
 public static void Insert(string key, object obj)
 {
     TCache.Insert(key, obj, int.MaxValue);
 }
示例#5
0
 public static void Insert(string key, object obj, CacheDependency dep, int seconds, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback)
 {
     TCache.Insert(key, obj, dep, seconds, priority, onRemoveCallback);
 }
示例#6
0
 public static void Insert(string key, object obj, CacheDependency dep, int seconds)
 {
     TCache.Insert(key, obj, dep, seconds);
 }