System.Configuration.ConfigurationElement.ApplyValidator C# (CSharp) Метод

ApplyValidator() приватный статический Метод

private static ApplyValidator ( ConfigurationElement elem ) : void
elem ConfigurationElement
Результат void
        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() ]);
            }
        }