Example #1
0
        private void ValidateCollection(ConfigurationCollection collection, string path)
        {
            var validator = new ConfigValidator(collection);

            validator.GetErrors().ForEach(x => logger.LogError(x.Message, path));
        }
 private void ValidateCollection(ConfigurationCollection collection, string path)
 {
     var validator = new ConfigValidator(collection);
     validator.GetErrors().ForEach(x => logger.LogError(x.Message, path));
 }