2using System.Collections.Generic;
7 internal class CacheItem<KeyType, ValueType>
9 private readonly KeyType key;
10 private readonly ValueType value;
11 private readonly DateTime created;
12 private DateTime lastUsed;
14 internal CacheItem(KeyType Key, ValueType Value, DateTime Created)
18 this.created = Created;
19 this.lastUsed = Created;
22 internal KeyType Key => this.key;
24 internal ValueType Value => this.value;
26 internal DateTime Created => this.created;
28 internal DateTime LastUsed
31 set => this.lastUsed = value;