Beispiel #1
0
        static RedisCacheProvider()
        {
            config = ConfigurationManager.GetSection("nhibernateRedisCache") as RedisCacheProviderSection;

            if (config == null)
            {
                config = new RedisCacheProviderSection();
            }
        }
Beispiel #2
0
 static RedisCacheProvider()
 {
     providerSection = ConfigurationManager.GetSection("nhibernateRedisCache") as RedisCacheProviderSection ??
                       new RedisCacheProviderSection();
 }