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