public RedisExpiryCounter(RedisClient redis, string id, TimeSpan expiresIn) : base(redis, id) { this.expiresIn = expiresIn; count = new RedisObject <double>(redis, id + ":" + MemberInfoGetting.GetMemberName(() => count)); }
public RedisObject(RedisClient redis, string id, Expression <Func <T> > member) { this.redis = redis; this.id = id + ":" + MemberInfoGetting.GetMemberName(member); }
public RedisExpiryList(RedisClient redis, string id, Expression <Func <T> > member, ExpirationAction expirationAction = null) { this.redis = redis; this.id = id + ":" + MemberInfoGetting.GetMemberName(member); this.expirationAction = expirationAction; }
public RedisDictionary(RedisClient redis, string id, Expression <Func <T> > member) { this.id = id + ":" + MemberInfoGetting.GetMemberName(member); }