Commit 1d8e9363 authored by Nick Craver's avatar Nick Craver

IRedisAsync.Multiplexer => IConnectionMultiplexer

Known breaking change and intended for 2.0. See #809 for details - pretty much for unit testing.
parent 09859807
...@@ -11,7 +11,7 @@ public partial interface IRedisAsync ...@@ -11,7 +11,7 @@ public partial interface IRedisAsync
/// <summary> /// <summary>
/// Gets the multiplexer that created this instance /// Gets the multiplexer that created this instance
/// </summary> /// </summary>
ConnectionMultiplexer Multiplexer { get; } IConnectionMultiplexer Multiplexer { get; }
/// <summary> /// <summary>
/// This command is often used to test if a connection is still alive, or to measure latency. /// This command is often used to test if a connection is still alive, or to measure latency.
......
...@@ -14,7 +14,7 @@ internal WrapperBase(TInner inner, byte[] keyPrefix) ...@@ -14,7 +14,7 @@ internal WrapperBase(TInner inner, byte[] keyPrefix)
Prefix = keyPrefix; Prefix = keyPrefix;
} }
public ConnectionMultiplexer Multiplexer => Inner.Multiplexer; public IConnectionMultiplexer Multiplexer => Inner.Multiplexer;
internal TInner Inner { get; } internal TInner Inner { get; }
......
...@@ -16,7 +16,7 @@ internal RedisBase(ConnectionMultiplexer multiplexer, object asyncState) ...@@ -16,7 +16,7 @@ internal RedisBase(ConnectionMultiplexer multiplexer, object asyncState)
this.asyncState = asyncState; this.asyncState = asyncState;
} }
ConnectionMultiplexer IRedisAsync.Multiplexer => multiplexer; IConnectionMultiplexer IRedisAsync.Multiplexer => multiplexer;
public virtual TimeSpan Ping(CommandFlags flags = CommandFlags.None) public virtual TimeSpan Ping(CommandFlags flags = CommandFlags.None)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment