public static ModifyWorkItemTypeDefinitionSubAction Deserialize(XmlElement element, DeserializationContext context)
 {
     var cdata = element.ChildNodes.OfType<XmlCDataSection>().Single();
     var doc = new XmlDocument();
     doc.LoadXml(cdata.Value);
     var field = new WitdField(doc.DocumentElement);
     return new AddFieldModifyWorkItemTypeDefinitionSubAction(field);
 }
 public RenamedWorkItemFieldDifference(string currentWorkItemTypeName, string currentFieldReferenceName, WitdField goalField)
 {
     _currentWorkItemTypeName = currentWorkItemTypeName;
     _currentFieldReferenceName = currentFieldReferenceName;
     _goalField = goalField;
 }
 public ReplaceFieldModifyWorkItemTypeDefinitionSubAction(WitdField field)
 {
     _field = field;
 }
 public void ReplaceFieldDefinition(WitdField field)
 {
     _subActions.Add(new ReplaceFieldModifyWorkItemTypeDefinitionSubAction(field));
 }
 public AddedWorkItemFieldDifference(string currentWorkItemTypeName, WitdField goalField)
 {
     _currentWorkItemTypeName = currentWorkItemTypeName;
     _goalField = goalField;
 }