using System; namespace ChaosBot.Services { public interface ICache { void Invalidate(); void Add(T key, TU value, DateTime expires); void Remove(T key); TU Get(T key); bool HasKey(T key); } }