CUE.NET.Devices.Generic.AbstractCueDevice.AttachLedGroup C# (CSharp) Method

AttachLedGroup() public method

Attaches the given ledgroup.
public AttachLedGroup ( ILedGroup ledGroup ) : bool
ledGroup ILedGroup The ledgroup to attach.
return bool
        public bool AttachLedGroup(ILedGroup ledGroup)
        {
            lock (LedGroups)
            {
                if (ledGroup == null || LedGroups.Contains(ledGroup)) return false;

                LedGroups.AddLast(ledGroup);
                return true;
            }
        }