Skip to content

Commit e2875b8

Browse files
author
Joerrg Battermann
committed
Changed to IMemcachedClientConfiguration instead of MemcachedClientConfiguration as parameter types
1 parent 8cb297c commit e2875b8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/ServiceStack.CacheAccess.Memcached/MemcachedClientCache.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ public MemcachedClientCache(IEnumerable<IPEndPoint> ipEndpoints)
6767
}
6868

6969
/// <summary>
70-
/// Initializes a new instance of the <see cref="MemcachedClientCache"/> class based on an existing <see cref="MemcachedClientConfiguration"/>.
70+
/// Initializes a new instance of the <see cref="MemcachedClientCache"/> class based on an existing <see cref="IMemcachedClientConfiguration"/>.
7171
/// </summary>
72-
/// <param name="memcachedClientConfiguration">The <see cref="MemcachedClientConfiguration"/>.</param>
73-
public MemcachedClientCache(MemcachedClientConfiguration memcachedClientConfiguration)
72+
/// <param name="memcachedClientConfiguration">The <see cref="IMemcachedClientConfiguration"/>.</param>
73+
public MemcachedClientCache(IMemcachedClientConfiguration memcachedClientConfiguration)
7474
{
7575
LoadClient(memcachedClientConfiguration);
7676
}
@@ -80,7 +80,7 @@ public MemcachedClientCache(MemcachedClientConfiguration memcachedClientConfigur
8080
/// </summary>
8181
/// <param name="ipEndpoints">The ip endpoints.</param>
8282
/// <returns></returns>
83-
private MemcachedClientConfiguration PrepareMemcachedClientConfiguration(IEnumerable<IPEndPoint> ipEndpoints)
83+
private IMemcachedClientConfiguration PrepareMemcachedClientConfiguration(IEnumerable<IPEndPoint> ipEndpoints)
8484
{
8585
var config = new MemcachedClientConfiguration();
8686
foreach (var ipEndpoint in ipEndpoints)
@@ -96,7 +96,7 @@ private MemcachedClientConfiguration PrepareMemcachedClientConfiguration(IEnumer
9696
return config;
9797
}
9898

99-
private void LoadClient(MemcachedClientConfiguration config)
99+
private void LoadClient(IMemcachedClientConfiguration config)
100100
{
101101
Enyim.Caching.LogManager.AssignFactory(new EnyimLogFactoryWrapper());
102102

0 commit comments

Comments
 (0)