mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-11-01 08:22:35 +01:00
4da6654440
Added caching to ConfigFileProvider,
14 lines
301 B
C#
14 lines
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);
|
|
}
|
|
} |