public override void LoadData(XmlNode node) { if (node == null) { throw new ArgumentNullException("node"); } if (node.Name != GroupName) { throw new FormatException(String.Format("Expecting <{0}>", GroupName)); } keys = new System.Collections.Specialized.ListDictionary(); foreach (XmlNode n in node.ChildNodes) { string name = n.Attributes["name"].Value; string key = GetNodeKey(name, n); XMLParameter parm = new XMLParameter(); parm.LoadData(n); keys.Add(key, parm); LoadExtraData(key, n); } }
public override void LoadData (XmlNode node) { if (node == null) throw new ArgumentNullException ("node"); if (node.Name != GroupName) throw new FormatException (String.Format ("Expecting <{0}>", GroupName)); keys = new System.Collections.Specialized.ListDictionary (); foreach (XmlNode n in node.ChildNodes) { string name = n.Attributes["name"].Value; string key = GetNodeKey (name, n); XMLParameter parm = new XMLParameter (); parm.LoadData (n); keys.Add (key, parm); LoadExtraData (key, n); } }