private XmlElement CreateElementFor(PropertyDelta propertyDelta) { var element = xmlDoc.CreateElement("Property"); element.Attributes.Append(CreateAttribute("Name", propertyDelta.Name)); element.Attributes.Append(CreateAttribute("PreviousValue", propertyDelta.LeftValue)); element.Attributes.Append(CreateAttribute("Value", propertyDelta.RightValue)); return(element); }
private XmlElement CreateElementFor(PropertyDelta propertyDelta) { var element = xmlDoc.CreateElement("Property"); element.Attributes.Append(CreateAttribute("Name", propertyDelta.Name)); element.Attributes.Append(CreateAttribute("PreviousValue", propertyDelta.LeftValue)); element.Attributes.Append(CreateAttribute("Value", propertyDelta.RightValue)); return element; }