C〓memcachedキャッシュは実例コードを使用します。
public interface ICacheStrategy
{
/// <summary>
///
/// </summary>
/// <param name="objId"> </param>
/// <param name="o"> </param>
/// <param name="second"> ( )</param>
void Add(string objId, object o, int second);
/// <summary>
/// ( )
/// </summary>
/// <param name="objId"> </param>
/// <param name="o"> </param>
/// <param name="second"> ( )</param>
/// <param name="dependKey"> </param>
void AddCacheDepend(string objId, object o, int second, string[] dependKey);
/// <summary>
/// ( )
/// </summary>
/// <param name="objId"> </param>
/// <param name="o"> </param>
/// <param name="second"> ( )</param>
/// <param name="files"> </param>
void AddFileDepend(string objId, object o, int second, string[] files);
/// <summary>
///
/// </summary>
/// <param name="objId"></param>
void RemoveCache(string objId);
/// <summary>
///
/// </summary>
void RemoveCacheAll();
/// <summary>
///
/// </summary>
/// <param name="pattern"></param>
/// <returns></returns>
void RemoveCacheRegex(string pattern);
/// <summary>
///
/// </summary>
/// <returns></returns>
IList<string> GetCacheKeys();
/// <summary>
///
/// </summary>
/// <param name="pattern"></param>
/// <returns></returns>
IList<string> SearchCacheRegex(string pattern);
/// <summary>
///
/// </summary>
/// <param name="objId"></param>
/// <returns></returns>
object GetCacheData(string objId);
/// <summary>
///
/// </summary>
/// <param name="objID"></param>
/// <returns></returns>
bool HasCache(string objID);
}