BB.Caching.Cache.Shared.Hashes.GetLengthAsync C# (CSharp) Méthode

GetLengthAsync() public static méthode

Returns the number of fields contained in the hash stored at key.
http://redis.io/commands/hlen
public static GetLengthAsync ( RedisKey key ) : Task
key RedisKey /// The key. ///
Résultat Task
                public static Task<long> GetLengthAsync(RedisKey key)
                {
                    return SharedCache.Instance.GetReadConnection(key)
                        .GetDatabase(SharedCache.Instance.Db)
                        .HashLengthAsync(key);
                }