private static void ClearCacheProvider(CachingProviderType cachingProvider) { #if NETFULL if (cachingProvider == CachingProviderType.Memcached) { MemcachedHelper.ClearDatabase("127.0.0.1", 11211); } #endif if (cachingProvider == CachingProviderType.Redis) { RedisHelper.ClearDatabase("localhost", 0); } if (cachingProvider == CachingProviderType.Couchbase) { CouchbaseHelper.ClearDatabase("http://localhost:8091", "default", "password", "default"); } }