mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-14 15:03:42 +01:00
13 lines
274 B
C#
13 lines
274 B
C#
|
using System;
|
|||
|
|
|||
|
namespace NzbDrone.Common.Cache
|
|||
|
{
|
|||
|
public interface ICached<T>
|
|||
|
{
|
|||
|
void Set(string key, T value);
|
|||
|
T Get(string key, Func<T> function);
|
|||
|
bool ContainsKey(string key);
|
|||
|
void Clear();
|
|||
|
void Remove(string key);
|
|||
|
}
|
|||
|
}
|