using System; using System.Collections.Generic; namespace AlicizaX.ObjectPool { /// /// 释放对象筛选函数。 /// /// 对象类型。 /// 要筛选的对象集合。 /// 需要释放的对象数量。 /// 对象过期参考时间。 /// 经筛选需要释放的对象集合。 public delegate List ReleaseObjectFilterCallback(List candidateObjects, int toReleaseCount, DateTime expireTime) where T : ObjectBase; }