using System; using System.Collections.Generic; namespace NzbDrone.Common.Cache { public interface ICached { bool ContainsKey(string key); void Clear(); void Remove(string key); } public interface ICached : ICached { void Set(string key, T value); T Get(string key, Func function); T Get(string key); T Find(string key); ICollection Values { get; } ICollection Keys { get; } } }