Sealed a lot of classes that are not meant to be inherited

This commit is contained in:
DarthAffe committed 2023-04-19 21:19:05 +02:00
1 parent d9c244a044
commit 2020992249
155 files changed
+205 -344

No files matched your search

@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using RGB.NET.Core;
using RGB.NET.Devices.Wooting.Generic;
using RGB.NET.Devices.Wooting.Native;
@@ -10,7 +9,7 @@ namespace RGB.NET.Devices.Wooting.Keyboard;
/// <summary>
/// Represents a Wooting keyboard.
/// </summary>
public class WootingKeyboardRGBDevice : WootingRGBDevice<WootingKeyboardRGBDeviceInfo>, IKeyboard
public sealed class WootingKeyboardRGBDevice : WootingRGBDevice<WootingKeyboardRGBDeviceInfo>, IKeyboard
{
#region Properties & Fields
@@ -53,8 +52,6 @@ public class WootingKeyboardRGBDevice : WootingRGBDevice<WootingKeyboardRGBDevic
_WootingSDK.Reset();
base.Dispose();
GC.SuppressFinalize(this);
}
#endregion
@@ -8,7 +8,7 @@ namespace RGB.NET.Devices.Wooting.Keyboard;
/// <summary>
/// Represents a generic information for a <see cref="T:RGB.NET.Devices.Wooting.Keyboard.WootingKeyboardRGBDevice" />.
/// </summary>
public class WootingKeyboardRGBDeviceInfo : WootingRGBDeviceInfo, IKeyboardDeviceInfo
public sealed class WootingKeyboardRGBDeviceInfo : WootingRGBDeviceInfo, IKeyboardDeviceInfo
{
#region Properties & Fields