1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-11-01 00:12:30 +01:00
Sonarr/NzbDrone.Common/Cache/ICached.cs
kay.one acf54203e5 Tuned down DB logging
Added cache to scene mapping.
2013-05-29 21:55:43 -07:00

15 lines
329 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);
T Get(string key);
T Find(string key);
}
}