mirror of
https://github.com/Radarr/Radarr
synced 2024-12-29 03:15:19 +00:00
acf54203e5
Added cache to scene mapping.
15 lines
No EOL
329 B
C#
15 lines
No EOL
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);
|
|
}
|
|
} |