public TConfigGroup(TConfigGroup group) : this() { Name = group.Name; Groups = new TConfigGroupCollection(group.Groups); Channels = new TLocalChannelCollection(group.Channels); }
public TConfigGroup(XElement group) : this() { Name = group.SafeReadAttribute <string>("name", ""); Channels = new TLocalChannelCollection(group.SafeReadElement("channels")); Groups = new TConfigGroupCollection(group.SafeReadElement("groups")); }
private TLocalChannelCollection _GetChannels(TConfigGroup group) { TLocalChannelCollection RetVal = new TLocalChannelCollection(); RetVal.Add(group.Channels); foreach (TConfigGroup GroupItem in group.Groups) { RetVal.Add(_GetChannels(GroupItem)); } return(RetVal); }
public TConfigGroup() { Name = ""; Groups = new TConfigGroupCollection(); Channels = new TLocalChannelCollection(); }