private static void ApplyValidator(ConfigurationElement elem) {
Debug.Assert(elem != null);
if ((s_perTypeValidators != null) && (s_perTypeValidators.ContainsKey(elem.GetType()))) {
elem._elementProperty = new ConfigurationElementProperty(s_perTypeValidators[ elem.GetType() ]);
}
}