internal override void AddPropertyType(PropertyType propertyType)
{
if (propertyType.IsContentListProperty)
throw new SchemaEditorCommandException(String.Concat("ContentListProperty cannot be assegned to a NodeType. NodeType=", this.Name, ", PropertyType=", propertyType.Name));
if (!this.PropertyTypes.Contains(propertyType))
this.PropertyTypes.Add(propertyType);
if (!_declaredPropertyTypes.Contains(propertyType))
_declaredPropertyTypes.Add(propertyType);
InheritPropertyType(propertyType);
}
private void InheritPropertyType(PropertyType propertyType)