Commit 9a63d26d authored by Nick Craver's avatar Nick Craver

Expose the ServerCounters constructor for testing.

Resolves #855
parent 4b82540c
......@@ -8,7 +8,11 @@ namespace StackExchange.Redis
/// </summary>
public class ServerCounters
{
internal ServerCounters(EndPoint endpoint)
/// <summary>
/// Creates a <see cref="ServerCounters"/> instance for an <see cref="EndPoint"/>.
/// </summary>
/// <param name="endpoint">The <see cref="EndPoint"/> to create counters for.</param>
public ServerCounters(EndPoint endpoint)
{
EndPoint = endpoint;
Interactive = new ConnectionCounters(ConnectionType.Interactive);
......@@ -65,4 +69,4 @@ internal void Add(ServerCounters other)
Subscription.Add(other.Subscription);
}
}
}
\ No newline at end of file
}
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