public void FromXml(XmlNode node) { TournStaff tournStaff1 = new TournStaff(); foreach (XmlNode selectNode in node.SelectNodes(tournStaff1.XmlKeyElementName)) { TournStaff tournStaff2 = new TournStaff(); tournStaff2.FromXml(selectNode); this.Add((ITournStaff)tournStaff2); } }
public override string ToString() { return(string.Format("{0} ({1})", (object)base.ToString(), (object)TournStaff.GetName(this.Position))); }