コード例 #1
0
 public FullColorMapKey(ICachedColorMapKey colorMapKey, int minInputValue, int maxInputValue)
     : this()
 {
     _colorMapKey   = colorMapKey;
     _minInputValue = minInputValue;
     _maxInputValue = maxInputValue;
 }
コード例 #2
0
 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);
     }
 }
コード例 #3
0
 internal CacheItem(ICachedColorMapKey key)
 {
     _key = key;
 }
コード例 #4
0
 public CachedColorMapProxy(ICachedColorMapKey colorMapKey)
     : this()
 {
     _colorMapKey = colorMapKey;
 }