mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-10 20:46:24 +00:00
Small fixes
This commit is contained in:
1 parent
877c654702
commit
84133738b4
8 files changed
+18
-11
No files matched your search
@@ -78,7 +78,7 @@ namespace RGB.NET.Devices.Corsair
|
||||
/// <exception cref="InvalidOperationException">Thrown if this constructor is called even if there is already an instance of this class.</exception>
|
||||
public CorsairDeviceProvider()
|
||||
{
|
||||
if (_instance != null) throw new InvalidOperationException($"There can be only one instanc of type {nameof(CorsairDeviceProvider)}");
|
||||
if (_instance != null) throw new InvalidOperationException($"There can be only one instance of type {nameof(CorsairDeviceProvider)}");
|
||||
_instance = this;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user