using System.Collections;
using System.Xml.Serialization;

namespace QC.MultiplexManager;

public class Groups
{
	private ArrayList groupList;

	[XmlElement("GROUP")]
	public Group[] GroupList
	{
		get
		{
			Group[] array = new Group[groupList.Count];
			groupList.CopyTo(array);
			return array;
		}
		set
		{
			if (value != null)
			{
				groupList.Clear();
				foreach (Group value2 in value)
				{
					groupList.Add(value2);
				}
			}
		}
	}

	public Groups()
	{
		groupList = new ArrayList();
	}
}
