Class CustomUpdateDataExtension
Offers some extensions for easier use of CustomUpdateData.
Inherited Members
Namespace: RGB.NET.Core
Assembly: RGB.NET.Core.dll
Syntax
public static class CustomUpdateDataExtension
Methods
| Edit this page View SourceFlushLeds(CustomUpdateData, bool)
Sets the FLUSH_LEDS-Parameter to the given value.
Declaration
public static CustomUpdateData FlushLeds(this CustomUpdateData customUpdateData, bool value = true)
Parameters
| Type | Name | Description |
|---|---|---|
| CustomUpdateData | customUpdateData | The update-data to modify. |
| bool | value | The value to set. |
Returns
| Type | Description |
|---|---|
| CustomUpdateData | The modified update-data. |
Heartbeat(CustomUpdateData, bool)
Sets the HEARTBEAT-Parameter to the given value.
Declaration
public static CustomUpdateData Heartbeat(this CustomUpdateData customUpdateData, bool value = true)
Parameters
| Type | Name | Description |
|---|---|---|
| CustomUpdateData | customUpdateData | The update-data to modify. |
| bool | value | The value to set. |
Returns
| Type | Description |
|---|---|
| CustomUpdateData | The modified update-data. |
Render(CustomUpdateData, bool)
Sets the RENDER-Parameter to the given value.
Declaration
public static CustomUpdateData Render(this CustomUpdateData customUpdateData, bool value = true)
Parameters
| Type | Name | Description |
|---|---|---|
| CustomUpdateData | customUpdateData | The update-data to modify. |
| bool | value | The value to set. |
Returns
| Type | Description |
|---|---|
| CustomUpdateData | The modified update-data. |
UpdateDevices(CustomUpdateData, bool)
Sets the UPDATE_DEVICES-Parameter to the given value.
Declaration
public static CustomUpdateData UpdateDevices(this CustomUpdateData customUpdateData, bool value = true)
Parameters
| Type | Name | Description |
|---|---|---|
| CustomUpdateData | customUpdateData | The update-data to modify. |
| bool | value | The value to set. |
Returns
| Type | Description |
|---|---|
| CustomUpdateData | The modified update-data. |