﻿namespace Lacjam.Core.Infrastructure.Cache
{
    /// <summary>
    /// A cache. http://stackoverflow.com/questions/8015542/azure-web-farm-ready-securitytokencache
    /// </summary>
    /// <typeparam name="TValue">The value type.</typeparam>
    public interface ICache<TValue>
    {
        void Add(string key, TValue value);
        void Remove(string key);
        string Get(string key);
    }
}
