C# Class CUE.NET.Groups.Extensions.LedGroupExtension

Offers some extensions and helper-methods for ledgroup related things.
Show file Open project: DarthAffe/CUE.NET

Public Methods

Method Description
Attach ( this ledGroup ) : bool

Attaches the given ledgroup to the device.

Detach ( this ledGroup ) : bool

Detaches the given ledgroup from the device.

Exclude ( this ledGroup ) : ListLedGroup

Returns a new ListLedGroup which contains all LEDs from the given ledgroup excluding the specified ones.

ToListLedGroup ( this ledGroup ) : ListLedGroup

Converts the given AbstractLedGroup to a ListLedGroup.

Method Details

Attach() public static method

Attaches the given ledgroup to the device.
public static Attach ( this ledGroup ) : bool
ledGroup this The ledgroup to attach.
return bool

Detach() public static method

Detaches the given ledgroup from the device.
public static Detach ( this ledGroup ) : bool
ledGroup this The ledgroup to attach.
return bool

Exclude() public static method

Returns a new ListLedGroup which contains all LEDs from the given ledgroup excluding the specified ones.
public static Exclude ( this ledGroup ) : ListLedGroup
ledGroup this The base ledgroup.
return ListLedGroup

ToListLedGroup() public static method

Converts the given AbstractLedGroup to a ListLedGroup.
public static ToListLedGroup ( this ledGroup ) : ListLedGroup
ledGroup this The to convert.
return ListLedGroup