Esempio n. 1
0
        private void FromXmlNodeList(XmlNodeList nodes)
        {
            foreach (XmlNode node in nodes)
            {
                IModifyResult mr = ModifyResultHelper.GetModifyResultByType(XmlHelper.GetAttributeText(node, "type"));

                mr.FromXmlNode(node);
                this.Add(mr);
            }
        }
Esempio n. 2
0
        private static void XmlNodeListToCollection(XmlNodeList nodeList, ModifyResultCollection collection)
        {
            foreach (XmlNode node in nodeList)
            {
                IModifyResult mr = ModifyResultHelper.GetModifyResultByType(XmlHelper.GetAttributeText(node, "type"));

                mr.FromXmlNode(node);
                collection.Add(mr);
            }
        }