internal RedisTypedTransaction(RedisTypedClient <T> redisClient, bool isAsync) : base(redisClient) { // if someone casts between sync/async: the sync-over-async or // async-over-sync is entirely self-inflicted; I can't fix stupid _isAsync = isAsync; }
public RedisTypedTransaction(RedisTypedClient <T> redisClient) { this.redisClient = redisClient; if (redisClient.CurrentTransaction != null) { throw new InvalidOperationException("An atomic command is already in use"); } redisClient.CurrentTransaction = this; redisClient.Multi(); }
public RedisClientSet(RedisTypedClient <T> client, string setId) { this.client = client; this.setId = setId; }
public RedisClientHash(RedisTypedClient <T> client, string hashId) { this.client = client; this.hashId = hashId; }
public RedisClientSets(RedisTypedClient <T> client) { this.client = client; }
internal RedisTypedCommandQueue(RedisTypedClient <T> redisClient) { RedisClient = redisClient; }
public RedisClientList(RedisTypedClient <T> client, string listId) { this.listId = listId; this.client = client; }
internal RedisTypedTransaction(RedisTypedClient <T> redisClient) : base(redisClient) { }