Discuz.Aggregation/AggregationCacheStrategy.cs

(完整代码) 710B

using System;
using System.Text;

namespace Discuz.Aggregation
{
    /// <summary>
    /// 聚合缓存策略类
    /// </summary>
    //public class AggregationCacheStrategy : Discuz.Forum.ForumCacheStrategy
    //{
    //    /// <summary>
    //    /// // 默认缓存存活期为5分钟
    //    /// </summary>
    //    private int _timeOut = 5; 

    //    /// <summary>
    //    /// 设置到期相对时间[单位:分钟]
    //    /// </summary>
    //    override public int TimeOut
    //    {
    //        set { _timeOut = (value > 0 && value < 9999) ? value : 5; }
    //        get { return (_timeOut > 0 && _timeOut < 9999) ? _timeOut : 5; }
    //    }
    //}
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。