mirror of
https://github.com/RaindropViewer/RaindropViewer.git
synced 2026-07-30 11:02:16 +00:00
14 lines
399 B
C#
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);
|
|
}
|
|
} |