You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

38 lines
930 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Leit.FrameWork
{
public class CustomerCatchModel
{
/// <summary>
/// 缓存创建时间
/// </summary>
public DateTime InsertTime { get; set; }
/// <summary>
/// 缓存保存时间(单位 秒 ) 注意:清理过期缓存以分钟为单位
/// </summary>
public int TimeOut { get; set; }
/// <summary>
/// 缓存值
/// </summary>
public object Value { get; set; }
/// <summary>
/// 缓存过期后清除前调用的事件
/// </summary>
public Action<object> CatchTimeoutClearnChanging;
/// <summary>
/// 缓存过期后清除完成调用的事件
/// </summary>
public Action<object> CatchTimeoutClearnChanged;
}
}