using System; using System.Collections.Generic; using System.Text; namespace Cosmos.HAL { public abstract class DeviceMgr { protected readonly List mAll = new List(); protected readonly IList mAllRO; public IList All { get { return mAllRO; } } public DeviceMgr() { mAllRO = mAll.AsReadOnly(); } public void Add(Devices.Device aDevice) { mAll.Add(aDevice); } } }