Beispiel #1
0
        private void UpdateIndex(string partionKey, string key)
        {
            var index = InnerCache.GetOrCreate(partionKey, entry => new HashSet <string>());

            index.Add(key);

            InnerCache.Set(partionKey, index, CacheDuration);
        }