123456789101112131415161718192021222324252627282930 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using YiSha.Cache.Factory;
- namespace YiSha.Business.Cache.IBusiness
- {
- public interface IBaseBusinessCacheBusiness<T>
- {
- /// <summary>
- /// 缓存Key
- /// </summary>
- string CacheKey { get; }
- /// <summary>
- /// 删除
- /// </summary>
- /// <returns></returns>
- bool Remove();
- /// <summary>
- /// 获取列表
- /// </summary>
- /// <returns></returns>
- Task<List<T>> GetList();
- }
- }
|