public MemcachedFactory(IMemcachedClientFactory memcachedClientFactory)
 {
     _memcachedClientFactory = memcachedClientFactory;
 }
示例#2
0
 public Memcached(IMemcachedSettings memcachedSettings, IMemcachedClientFactory memcachedClientFactory)
 {
     _memcacheSettings = memcachedSettings;
     _memcachedClient = memcachedClientFactory.Create(memcachedSettings);
 }