private long HSetCore(byte[] key, byte[] field, byte[] value) { using var connection = new RedisConnection(_connectionSettings); var command = new HSet(connection.GetStream(), key, field, value); return(command.Execute()); }
private async Task <long> HSetCoreAsync(byte[] key, byte[] field, byte[] value) { using var connection = new RedisConnection(_connectionSettings); var command = new HSet(connection.GetStream(), key, field, value); return(await command.ExecuteAsync()); }
internal Instance(VisQuery outer, ref int bit) { this.outer = outer; this.applicable = new HSet <VisNode>(); this.bit = ((int)1) << bit; this.bitNumber = (byte)bit; bit++; }
internal Instance(VisQuery outer, ref int bit) { this.outer = outer; this.applicable = new HSet <VisNode>(); this.bit = (long)(1 << (bit & 31)); this.bitNumber = (byte)bit; bit = bit + 1; }
protected ODBList() { this.hashSet = new HSet <T>(); }
internal Instance(VisQuery outer, ref int bit) { this.outer = outer; this.applicable = new HSet<VisNode>(); this.bit = (long)(1 << (bit & 31)); this.bitNumber = (byte)bit; bit = bit + 1; }