protected override void DeserializeElement(XmlReader reader, bool serializeCollectionKey)
{
foreach (ConfigurationProperty configurationProperty in Properties)
{
string name = configurationProperty.Name;
if (name == ContentPropertyName)
{
string contentString = reader.ReadString();
base[name] = contentString.Trim();
}
else
{
string attributeValue = reader.GetAttribute(name);
base[name] = attributeValue;
}
}
reader.ReadEndElement();
}