Skip to main content

RedisExtensions

Assembly: ServiceStack.Redis.dll
View Source
Declaration
public static class RedisExtensions

Methods

ToRedisEndPoints(IEnumerable<String>)

View Source
Declaration
public static List<RedisEndpoint> ToRedisEndPoints(this IEnumerable<string> hosts)
Returns

System.Collections.Generic.List<ServiceStack.Redis.RedisEndpoint>

Parameters
TypeName
System.Collections.Generic.IEnumerable<System.String>hosts

ToRedisEndpoint(String, Nullable<Int32>)

View Source
Declaration
public static RedisEndpoint ToRedisEndpoint(this string connectionString, int? defaultPort = null)
Returns

ServiceStack.Redis.RedisEndpoint

Parameters
TypeName
System.StringconnectionString
System.Nullable<System.Int32>defaultPort