1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-28 02:27:13 +00:00
Lidarr/NzbDrone.Common/Cache/ICached.cs
kay.one 4da6654440 Added Auth, startup options to UI
Added caching to ConfigFileProvider,
2013-05-22 22:12:15 -07:00

14 lines
No EOL
301 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);
}
}