public DateTime?GetCreationTimestamp(string key) { var value = _cache.GetStringStart(key, TimestampedCacheValue.MaxDateLength); return(value == null ? (DateTime?)null : TimestampedCacheValue.FromString(value).CreateCommenced); }
public TimestampedCacheValue Get(string key) { var value = _cache.Get(key); return(value == null ? null : TimestampedCacheValue.FromString(value)); }