Example #1
0
        public IReadOnlyList <string> GetChildPipeNames(string parentPipeName)
        {
            var db             = _redis.GetDatabase();
            var parentInfoPath = CreateParentChildSetPath(parentPipeName);
            var entries        = db.HashGetAll(parentInfoPath);

            if (entries == null)
            {
                return(new string[0]);
            }

            return(entries.Select(a => RedisExtensions.ReadAsString(a.Name)).ToList());
        }