public void LoadXmlnode(XmlElement node) { Clear(); BxDefaultUnitsGroupS child = null; foreach (XmlElement one in node.ChildNodes) { child = new BxDefaultUnitsGroupS(); child.LoadXmlnode(one); AddGroup(child); } Name = node.GetAttribute("name"); }
public void AddGroup(BxDefaultUnitsGroupS group) { _groups.Add(group); }