public XElement ToXml() { XElement RetVal = new XElement("groups"); foreach (TConfigGroup ConfigGroupItem in this) { RetVal.Add(ConfigGroupItem.ToXml()); } return(RetVal); }
public override string ToString() { StringBuilder RetVal = new StringBuilder(); foreach (TConfigGroup ConfigGroupItem in this) { RetVal.AppendLine(ConfigGroupItem.ToString()); } return(RetVal.ToString().Trim('\n')); }