You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

IOutputCache.cs 453B

1234567891011121314151617181920
  1. namespace iiie.CacheControl.Business.OutputCache
  2. {
  3. public abstract class IOutputCache
  4. {
  5. public virtual T Get<T>(string key) where T : class
  6. {
  7. var o = Get(key) as T;
  8. return o;
  9. }
  10. public abstract object Get(string key);
  11. public abstract void Remove(string key);
  12. public abstract bool Contains(string key);
  13. public abstract void Add(string key, object o);
  14. }
  15. }