예제 #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);
 }