12345678910111213141516171819202122232425262728293031323334353637383940 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- namespace Central.Control.WebApi.Cache
- {
- public interface ICacheHelper
- {
-
-
-
-
-
- void SetByNotExpired<T>(string key, T content);
-
-
-
-
-
-
- void Set<T>(string key, T content, int seconds = 300);
-
-
-
-
-
-
- T Get<T>(string key) where T : class;
-
-
-
-
- void Remove(string key);
- }
- }
|