This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
namespace BP.GPM.DTalk.DDSDK
{
/// <summary>
/// 缓存接口
/// </summary>
interface ICacheProvider
/// 获取缓存
/// <param name="key">缓存key</param>
/// <returns>缓存对象或null,不存在或者过期返回null</returns>
object GetCache(string key);
/// 写入缓存
/// <param name="value">缓存值</param>
/// <param name="expire">缓存有效期,单位为秒,默认300</param>
void SetCache(string key, object value, int expire = 300);
}