mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2025-12-13 10:08:31 +00:00
Removed useless generic from device-loading
This commit is contained in:
parent
0b41bb1b02
commit
9e44b8f9e5
@ -16,9 +16,8 @@ namespace RGB.NET.Core
|
|||||||
/// <param name="loadFilter">Specifies which types of devices to load.</param>
|
/// <param name="loadFilter">Specifies which types of devices to load.</param>
|
||||||
/// <param name="exclusiveAccessIfPossible">Specifies whether the application should request exclusive access of possible or not.</param>
|
/// <param name="exclusiveAccessIfPossible">Specifies whether the application should request exclusive access of possible or not.</param>
|
||||||
/// <param name="throwExceptions">Specifies whether exception during the initialization sequence should be thrown or not.</param>
|
/// <param name="throwExceptions">Specifies whether exception during the initialization sequence should be thrown or not.</param>
|
||||||
public void LoadDevices<T>(IRGBDeviceProviderLoader deviceProviderLoader, RGBDeviceType loadFilter = RGBDeviceType.All,
|
public void LoadDevices(IRGBDeviceProviderLoader deviceProviderLoader, RGBDeviceType loadFilter = RGBDeviceType.All,
|
||||||
bool exclusiveAccessIfPossible = false, bool throwExceptions = false)
|
bool exclusiveAccessIfPossible = false, bool throwExceptions = false)
|
||||||
where T : class, IRGBDeviceProviderLoader, new()
|
|
||||||
=> LoadDevices(deviceProviderLoader.GetDeviceProvider(), loadFilter, exclusiveAccessIfPossible, throwExceptions);
|
=> LoadDevices(deviceProviderLoader.GetDeviceProvider(), loadFilter, exclusiveAccessIfPossible, throwExceptions);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user