SimpleCachedValue<CacheContentType> constructor
SimpleCachedValue<CacheContentType> (
- ComputeCacheCallback<
CacheContentType> _computeCache
Creates a SimpleCachedValue. It is recommended to use
new CachedValue
instead of this constructor.
Implementation
SimpleCachedValue(this._computeCache) {
_value = _computeCache();
}