Class AsusDeviceProvider
Represents the abstract base implementation for a IRGBDeviceProvider.
Inherited Members
Namespace: RGB.NET.Devices.Asus
Assembly: RGB.NET.Devices.Asus.dll
Syntax
public sealed class AsusDeviceProvider : AbstractRGBDeviceProvider, IRGBDeviceProvider, IDisposable
Constructors
| Edit this page View SourceAsusDeviceProvider()
Initializes a new instance of the AsusDeviceProvider class.
Declaration
public AsusDeviceProvider()
Exceptions
Type | Condition |
---|---|
InvalidOperationException | Thrown if this constructor is called even if there is already an instance of this class. |
Properties
| Edit this page View SourceInstance
Gets the singleton AsusDeviceProvider instance.
Declaration
public static AsusDeviceProvider Instance { get; }
Property Value
Type | Description |
---|---|
AsusDeviceProvider |
Methods
| Edit this page View SourceDispose(bool)
Disposes the object and frees all resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
|
Overrides
| Edit this page View SourceInitializeSDK()
Initializes the underlying SDK.
Declaration
protected override void InitializeSDK()
Overrides
| Edit this page View SourceLoadDevices()
Loads all devices this device provider is capable of loading.
Declaration
protected override IEnumerable<IRGBDevice> LoadDevices()
Returns
Type | Description |
---|---|
IEnumerable<IRGBDevice> | A collection of loaded devices. |
Overrides
Remarks
Filtering happens in GetLoadedDevices(RGBDeviceType).