public static ChangeItem GetCamlChangeItem(this XElement xmlNode) { ChangeItem c = new ChangeItem(); c.Command = xmlNode.Attribute("ChangeType").Value; if (c.Command != "InvalidToken") c.ListItemID = Int32.Parse(xmlNode.Value); return c; }
public static ChangeItem GetCamlChangeItem(this XElement xmlNode) { ChangeItem c = new ChangeItem(); c.Command = xmlNode.Attribute("ChangeType").Value; if (c.Command != "InvalidToken") { c.ListItemID = Int32.Parse(xmlNode.Value); } return(c); }