ServiceStack.Redis.RedisExtensions.ToRedisEndPoints C# (CSharp) Method

ToRedisEndPoints() public static method

public static ToRedisEndPoints ( this hosts ) : List
hosts this
return List
        public static List<RedisEndpoint> ToRedisEndPoints(this IEnumerable<string> hosts)
        {
            return hosts == null
                ? new List<RedisEndpoint>()
                : hosts.Select(x => ToRedisEndpoint(x)).ToList();
        }