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

GetAsync() public static méthode

Returns the value associated with field in the hash stored at key.
http://redis.io/commands/hget
public static GetAsync ( RedisKey key, RedisValue field ) : Task
key RedisKey /// The key. ///
field RedisValue /// The field. ///
Résultat Task
                public static Task<RedisValue> GetAsync(RedisKey key, RedisValue field)
                {
                    Task<RedisValue> result = SharedCache.Instance.GetReadConnection(key)
                        .GetDatabase(SharedCache.Instance.Db)
                        .HashGetAsync(key, field);

                    return result;
                }

Same methods

Cache.Shared.Hashes::GetAsync ( RedisKey key, RedisValue fields ) : Task