protected AbstractCacheState(IEvictingCache <TKey, TValue> owner, int capacity) : base(capacity) { if ((Capacity = capacity) < 0) { throw new ArgumentOutOfRangeException("capacity", "must be greater than or equal zero"); } if (owner == null) { throw new ArgumentNullException("owner", "cannot be null"); } Source = owner.Parent; Policy = owner.Policy; }
public FifoCacheEviction(IEvictingCache <TKey, TValue> owner, int capacity) : base(owner, capacity) { }
protected CacheEvictionBase(IEvictingCache <TKey, TValue> owner, int capacity) : base(owner, capacity) { }
protected AbstractCacheEviction(IEvictingCache <TKey, TValue> owner, int capacity) : base(owner, capacity) { Evictables = CreateEvictableCollection(); }