Files
RaindropViewer/Assets/Raindrop/UI/Map/ICache.cs
T
2022-03-28 21:29:45 +08:00

14 lines
399 B
C#

namespace Raindrop.DS
{
internal interface ICache
{
T Get<T>(string key);
void Set<T>(string key, T value);
//void SetSliding<T>(string key, T value);
//void Set<T>(string key, T value, int duration);
//void SetSliding<T>(string key, T value, int duration);
//void Set<T>(string key, T value, DateTimeOffset expiration);
bool Exists(string key);
void Remove(string key);
}
}