public RedisDictionary(RedisService cache, RedisKey hashKey, Func <TKey, string> parser = null) { this.cache = cache; this.hashKey = hashKey; this.parser = parser ?? (key => key.ToString()); }
public RedisDictionary(RedisService cache, Func <TKey, string> parser = null) { this.cache = cache; this.hashKey = typeof(TValue).Name; this.parser = parser ?? (key => key.ToString()); }