public TValueType Validated(TValueType value) { if (CacheDictionary.ContainsValue(value)) { return(value); } throw new InvalidCacheItemException(string.Format(" cache {0}. Value {1} was not found in ", CacheName, value.ToString())); }