C# 클래스 CUE.NET.Groups.ListLedGroup

Represents a ledgroup containing arbitrary LEDs.
상속: AbstractLedGroup
파일 보기 프로젝트 열기: DarthAffe/CUE.NET 1 사용 예제들

공개 메소드들

메소드 설명
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