コード例 #1
0
        public void LoadParametersFromConfiguration(PropertyDefineValidatorParameterConfigurationElementCollection paramsElements)
        {
            this.Clear();

            if (paramsElements != null)
            {
                foreach (PropertyDefineValidatorParameterConfigurationElement paramElement in paramsElements)
                {
                    this.Add(new PropertyValidatorParameterDescriptor(paramElement));
                }
            }
        }
コード例 #2
0
 public PropertyValidatorParameterDescriptorCollection(PropertyDefineValidatorParameterConfigurationElementCollection paramsElements)
 {
     LoadParametersFromConfiguration(paramsElements);
 }