From 9e44b8f9e5fffca0f719b2fc0e4f02404987c02f Mon Sep 17 00:00:00 2001 From: Darth Affe Date: Sun, 3 Jun 2018 10:15:25 +0200 Subject: [PATCH] Removed useless generic from device-loading --- RGB.NET.Core/RGBSurfaceDeviceLoader.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/RGB.NET.Core/RGBSurfaceDeviceLoader.cs b/RGB.NET.Core/RGBSurfaceDeviceLoader.cs index 7a39d28..b3fe9e6 100644 --- a/RGB.NET.Core/RGBSurfaceDeviceLoader.cs +++ b/RGB.NET.Core/RGBSurfaceDeviceLoader.cs @@ -16,9 +16,8 @@ namespace RGB.NET.Core /// Specifies which types of devices to load. /// Specifies whether the application should request exclusive access of possible or not. /// Specifies whether exception during the initialization sequence should be thrown or not. - public void LoadDevices(IRGBDeviceProviderLoader deviceProviderLoader, RGBDeviceType loadFilter = RGBDeviceType.All, + public void LoadDevices(IRGBDeviceProviderLoader deviceProviderLoader, RGBDeviceType loadFilter = RGBDeviceType.All, bool exclusiveAccessIfPossible = false, bool throwExceptions = false) - where T : class, IRGBDeviceProviderLoader, new() => LoadDevices(deviceProviderLoader.GetDeviceProvider(), loadFilter, exclusiveAccessIfPossible, throwExceptions); ///