private bool EditOnSameField( XmlDocument sourceSideChanges, XmlDocument targetSideChanges) { var srcActionFieldChanges = WorkItemField.ExtractFieldChangeDetails(sourceSideChanges); var tgtActionFieldChanges = WorkItemField.ExtractFieldChangeDetails(targetSideChanges); return(ContainsConflictFieldChange(srcActionFieldChanges, tgtActionFieldChanges)); }
private void AppendChangeDetails(StringBuilder sb, string itemId, string itemVersion, XmlDocument changeDoc) { sb.AppendFormat("Item {0} (revision {1}) changes:\n", itemId, itemVersion); var fieldChanges = WorkItemField.ExtractFieldChangeDetails(changeDoc); foreach (WorkItemField field in fieldChanges) { sb.AppendFormat(" {0}: {1}\n", field.FieldName, field.FieldValue); } }