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

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