C# Class CUE.NET.Groups.ListLedGroup

Represents a ledgroup containing arbitrary LEDs.
Inheritance: AbstractLedGroup
Afficher le fichier Open project: DarthAffe/CUE.NET Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

AddLed() public méthode

Adds the given LED(s) to the ledgroup.
public AddLed ( ) : void
Résultat void

AddLeds() public méthode

Adds the given LEDs to the ledgroup.
public AddLeds ( IEnumerable leds ) : void
leds IEnumerable The LEDs to add.
Résultat void

AddLeds() public méthode

Adds the given LEDs to the ledgroup.
public AddLeds ( IEnumerable ledIds ) : void
ledIds IEnumerable The IDs of the LEDs to add.
Résultat void

ContainsLed() public méthode

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.
Résultat bool

ContainsLed() public méthode

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.
Résultat bool

GetLeds() public méthode

Gets a list containing the LEDs from this group.
public GetLeds ( ) : IEnumerable
Résultat IEnumerable

ListLedGroup() public méthode

Initializes a new instance of the ListLedGroup class.
public ListLedGroup ( ICueDevice device ) : System.Collections.Generic
device ICueDevice The device this ledgroup belongs to.
Résultat System.Collections.Generic

ListLedGroup() public méthode

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.
Résultat System.Collections.Generic

ListLedGroup() public méthode

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.
Résultat System.Collections.Generic

ListLedGroup() public méthode

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.
Résultat System.Collections.Generic

ListLedGroup() public méthode

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.
Résultat System.Collections.Generic

ListLedGroup() public méthode

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.
Résultat System.Collections.Generic

MergeLeds() public méthode

Merges the LEDs from the given ledgroup in this ledgroup.
public MergeLeds ( ILedGroup groupToMerge ) : void
groupToMerge ILedGroup The ledgroup to merge.
Résultat void

RemoveLed() public méthode

Removes the given LED(s) from the ledgroup.
public RemoveLed ( ) : void
Résultat void

RemoveLeds() public méthode

Removes the given LEDs from the ledgroup.
public RemoveLeds ( IEnumerable leds ) : void
leds IEnumerable The LEDs to remove.
Résultat void

RemoveLeds() public méthode

Removes the given LEDs from the ledgroup.
public RemoveLeds ( IEnumerable ledIds ) : void
ledIds IEnumerable The IDs of the LEDs to remove.
Résultat void