public RegionConfigurationManager(CacheRegions regions)
 {
     if (regions == null || regions.Regions == null)
         throw new ConfigurationException("cache-regions not specified in application config.");
     _regions = regions.Regions;
     foreach (RegionConfiguration region in _regions)
         ValidateRegionConfig(region);
 }
 public RegionConfigurationManager(CacheRegions regions)
 {
     if (regions == null || regions.Regions == null)
     {
         throw new ConfigurationException("cache-regions not specified in application config.");
     }
     _regions = regions.Regions;
     foreach (RegionConfiguration region in _regions)
     {
         ValidateRegionConfig(region);
     }
 }