OpenHome.Net.Runner.DeviceAdded C# (CSharp) Method

DeviceAdded() private method

private DeviceAdded ( ControlPoint aList, ControlPoint aDevice ) : void
aList ControlPoint
aDevice ControlPoint
return void
        private void DeviceAdded(ControlPoint.CpDeviceList aList, ControlPoint.ICpDevice aDevice)
        {
            lock (this)
            {
                if (!iListFrozen)
                {
                    PrintDeviceInfo("Added", aDevice);
                    aDevice.AddRef();
                    iDeviceList.Add(aDevice);
                }
            }
        }