public void LoadParametersFromConfiguration(PropertyDefineValidatorParameterConfigurationElementCollection paramsElements) { this.Clear(); if (paramsElements != null) { foreach (PropertyDefineValidatorParameterConfigurationElement paramElement in paramsElements) { this.Add(new PropertyValidatorParameterDescriptor(paramElement)); } } }
public PropertyValidatorParameterDescriptorCollection(PropertyDefineValidatorParameterConfigurationElementCollection paramsElements) { LoadParametersFromConfiguration(paramsElements); }