public CachedItem(object value, CacheType cacheType, TimeSpan increment) { Value = value; CacheType = cacheType; Increment = increment; if (cacheType.IsDefined()) { Expiration = DateTime.Now.Add(increment); } }