コード例 #1
0
    /// <summary>
    /// 删除
    /// </summary>
    /// <typeparam name="T"></typeparam>
    /// <param name="key"></param>
    public static void Destory <T>(string key)
    {
        CacheBase <T> cache = GetType <T>(key);

        if (cache != null)
        {
            cache.Destroy();
        }
    }