Beispiel #1
0
        static CacheUtil()
        {
            commConfig = new CacheCommonConfig {
                ProxyType = CacheProxyType.WebCache,
                Duration  = 20,
                Tempaltes = Enumerable.Empty <CacheTemplate>()
            };

            cacheKeyCreator = new DefaultCacheKeyCreator();
        }
Beispiel #2
0
 public static void ApplyConfig(CacheCommonConfig config)
 {
     commConfig = config;
 }