<PackageReference Include="System.ServiceModel.Primitives" Version="8.1.1" />

System.ServiceModel.Security.TimeBoundedCache

protected ReaderWriterLockSlim CacheLock { get; }

protected int Capacity { get; }

public int Count { get; }

protected Hashtable Entries { get; }

protected TimeBoundedCache(int lowWaterMark, int maxCacheItems, IEqualityComparer keyComparer, PurgingMode purgingMode, TimeSpan purgeInterval, bool doRemoveNotification)

protected void ClearItems()

protected object ExtractItem(IExpirableItem val)

protected object GetItem(object key)

protected virtual ArrayList OnQuotaReached(Hashtable cacheTable)

protected virtual void OnRemove(object item)

protected bool TryAddItem(object key, object item, DateTime expirationTime, bool replaceExistingEntry)

protected bool TryAddItem(object key, IExpirableItem item, bool replaceExistingEntry)

protected bool TryRemoveItem(object key)

protected bool TryReplaceItem(object key, object item, DateTime expirationTime)