public FullColorMapKey(ICachedColorMapKey colorMapKey, int minInputValue, int maxInputValue) : this() { _colorMapKey = colorMapKey; _minInputValue = minInputValue; _maxInputValue = maxInputValue; }
private static CacheItem GetColorMapCacheItem(ICachedColorMapKey key) { lock (_syncLock) { if (_cache.ContainsKey(key)) { return(_cache[key]); } CacheItem item = new CacheItem(key); _cache[key] = item; return(item); } }
internal CacheItem(ICachedColorMapKey key) { _key = key; }
public CachedColorMapProxy(ICachedColorMapKey colorMapKey) : this() { _colorMapKey = colorMapKey; }