Exemplo n.º 1
0
 public object Any(ContainsKey request)
 {
     return(new ContainsKeyResponse
     {
         Result = Redis.ContainsKey(request.Key)
     });
 }
Exemplo n.º 2
0
        public bool ContainsKey(string key)
        {
            Check.IsNullOrWhiteSpace <ArgumentNullException>(key);

            using (var command = new ContainsKey(host: _host, port: _port))
            {
                var result = command.Execute(key);
                return(result);
            }
        }