纽威
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.
 
 
 
 
 

17 lines
473 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NFine.Code
{
public interface ICache
{
T GetCache<T>(string cacheKey) where T : class;
void WriteCache<T>(T value, string cacheKey) where T : class;
void WriteCache<T>(T value, string cacheKey, DateTime expireTime) where T : class;
void RemoveCache(string cacheKey);
void RemoveCache();
}
}