C# Класс CUE.NET.Groups.ListLedGroup

Represents a ledgroup containing arbitrary LEDs.
Наследование: AbstractLedGroup
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddLed ( ) : void

Adds the given LED(s) to the ledgroup.

AddLeds ( IEnumerable leds ) : void

Adds the given LEDs to the ledgroup.

AddLeds ( IEnumerable ledIds ) : void

Adds the given LEDs to the ledgroup.

ContainsLed ( CorsairLed led ) : bool

Checks if a given LED is contained by this ledgroup.

ContainsLed ( CorsairLedId ledId ) : bool

Checks if a given LED is contained by this ledgroup.

GetLeds ( ) : IEnumerable

Gets a list containing the LEDs from this group.

ListLedGroup ( ICueDevice device ) : System.Collections.Generic

Initializes a new instance of the ListLedGroup class.

ListLedGroup ( ICueDevice device, IEnumerable leds ) : System.Collections.Generic

Initializes a new instance of the ListLedGroup class.

ListLedGroup ( ICueDevice device, IEnumerable leds ) : System.Collections.Generic

Initializes a new instance of the ListLedGroup class.

ListLedGroup ( ICueDevice device, bool autoAttach = true ) : System.Collections.Generic

Initializes a new instance of the ListLedGroup class.

ListLedGroup ( ICueDevice device, bool autoAttach, IEnumerable leds ) : System.Collections.Generic

Initializes a new instance of the ListLedGroup class.

ListLedGroup ( ICueDevice device, bool autoAttach, IEnumerable leds ) : System.Collections.Generic

Initializes a new instance of the ListLedGroup class.

MergeLeds ( ILedGroup groupToMerge ) : void

Merges the LEDs from the given ledgroup in this ledgroup.

RemoveLed ( ) : void

Removes the given LED(s) from the ledgroup.

RemoveLeds ( IEnumerable leds ) : void

Removes the given LEDs from the ledgroup.

RemoveLeds ( IEnumerable ledIds ) : void

Removes the given LEDs from the ledgroup.

Описание методов

AddLed() публичный Метод

Adds the given LED(s) to the ledgroup.
public AddLed ( ) : void
Результат void

AddLeds() публичный Метод

Adds the given LEDs to the ledgroup.
public AddLeds ( IEnumerable leds ) : void
leds IEnumerable The LEDs to add.
Результат void

AddLeds() публичный Метод

Adds the given LEDs to the ledgroup.
public AddLeds ( IEnumerable ledIds ) : void
ledIds IEnumerable The IDs of the LEDs to add.
Результат void

ContainsLed() публичный Метод

Checks if a given LED is contained by this ledgroup.
public ContainsLed ( CorsairLed led ) : bool
led CUE.NET.Devices.Generic.CorsairLed The LED which should be checked.
Результат bool

ContainsLed() публичный Метод

Checks if a given LED is contained by this ledgroup.
public ContainsLed ( CorsairLedId ledId ) : bool
ledId CorsairLedId The ID of the LED which should be checked.
Результат bool

GetLeds() публичный Метод

Gets a list containing the LEDs from this group.
public GetLeds ( ) : IEnumerable
Результат IEnumerable

ListLedGroup() публичный Метод

Initializes a new instance of the ListLedGroup class.
public ListLedGroup ( ICueDevice device ) : System.Collections.Generic
device ICueDevice The device this ledgroup belongs to.
Результат System.Collections.Generic

ListLedGroup() публичный Метод

Initializes a new instance of the ListLedGroup class.
public ListLedGroup ( ICueDevice device, IEnumerable leds ) : System.Collections.Generic
device ICueDevice The device this ledgroup belongs to.
leds IEnumerable The initial LEDs of this ledgroup.
Результат System.Collections.Generic

ListLedGroup() публичный Метод

Initializes a new instance of the ListLedGroup class.
public ListLedGroup ( ICueDevice device, IEnumerable leds ) : System.Collections.Generic
device ICueDevice The device this ledgroup belongs to.
leds IEnumerable The IDs of the initial LEDs of this ledgroup.
Результат System.Collections.Generic

ListLedGroup() публичный Метод

Initializes a new instance of the ListLedGroup class.
public ListLedGroup ( ICueDevice device, bool autoAttach = true ) : System.Collections.Generic
device ICueDevice The device this ledgroup belongs to.
autoAttach bool Specifies whether this ledgroup should be automatically attached or not.
Результат System.Collections.Generic

ListLedGroup() публичный Метод

Initializes a new instance of the ListLedGroup class.
public ListLedGroup ( ICueDevice device, bool autoAttach, IEnumerable leds ) : System.Collections.Generic
device ICueDevice The device this ledgroup belongs to.
autoAttach bool Specifies whether this ledgroup should be automatically attached or not.
leds IEnumerable The initial LEDs of this ledgroup.
Результат System.Collections.Generic

ListLedGroup() публичный Метод

Initializes a new instance of the ListLedGroup class.
public ListLedGroup ( ICueDevice device, bool autoAttach, IEnumerable leds ) : System.Collections.Generic
device ICueDevice The device this ledgroup belongs to.
autoAttach bool Specifies whether this ledgroup should be automatically attached or not.
leds IEnumerable The IDs of the initial LEDs of this ledgroup.
Результат System.Collections.Generic

MergeLeds() публичный Метод

Merges the LEDs from the given ledgroup in this ledgroup.
public MergeLeds ( ILedGroup groupToMerge ) : void
groupToMerge ILedGroup The ledgroup to merge.
Результат void

RemoveLed() публичный Метод

Removes the given LED(s) from the ledgroup.
public RemoveLed ( ) : void
Результат void

RemoveLeds() публичный Метод

Removes the given LEDs from the ledgroup.
public RemoveLeds ( IEnumerable leds ) : void
leds IEnumerable The LEDs to remove.
Результат void

RemoveLeds() публичный Метод

Removes the given LEDs from the ledgroup.
public RemoveLeds ( IEnumerable ledIds ) : void
ledIds IEnumerable The IDs of the LEDs to remove.
Результат void