mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-10 20:46:24 +00:00
Sealed a lot of classes that are not meant to be inherited
This commit is contained in:
1 parent
d9c244a044
commit
2020992249
155 files changed
+205
-344
No files matched your search
@@ -4,7 +4,7 @@ using RGB.NET.Core;
|
||||
namespace RGB.NET.Devices.OpenRGB;
|
||||
|
||||
/// <inheritdoc />
|
||||
public class OpenRGBGenericDevice : AbstractOpenRGBDevice<OpenRGBDeviceInfo>
|
||||
public sealed class OpenRGBGenericDevice : AbstractOpenRGBDevice<OpenRGBDeviceInfo>
|
||||
{
|
||||
#region Constructors
|
||||
/// <summary>
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace RGB.NET.Devices.OpenRGB;
|
||||
/// <summary>
|
||||
/// Represents the update-queue performing updates for OpenRGB devices.
|
||||
/// </summary>
|
||||
public class OpenRGBUpdateQueue : UpdateQueue
|
||||
public sealed class OpenRGBUpdateQueue : UpdateQueue
|
||||
{
|
||||
#region Properties & Fields
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace RGB.NET.Devices.OpenRGB;
|
||||
/// <summary>
|
||||
/// Represents a device provider responsible for OpenRGB devices.
|
||||
/// </summary>
|
||||
public class OpenRGBDeviceProvider : AbstractRGBDeviceProvider
|
||||
public sealed class OpenRGBDeviceProvider : AbstractRGBDeviceProvider
|
||||
{
|
||||
#region Properties & Fields
|
||||
|
||||
@@ -162,8 +162,6 @@ public class OpenRGBDeviceProvider : AbstractRGBDeviceProvider
|
||||
_clients.Clear();
|
||||
DeviceDefinitions.Clear();
|
||||
Devices = Enumerable.Empty<IRGBDevice>();
|
||||
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
/// <summary>
|
||||
/// Represents a definition of an OpenRGB server.
|
||||
/// </summary>
|
||||
public class OpenRGBServerDefinition
|
||||
public sealed class OpenRGBServerDefinition
|
||||
{
|
||||
/// <summary>
|
||||
/// The name of the client that will appear in the OpenRGB interface.
|
||||
|
||||
@@ -4,7 +4,7 @@ using RGB.NET.Core;
|
||||
namespace RGB.NET.Devices.OpenRGB;
|
||||
|
||||
/// <inheritdoc />
|
||||
public class OpenRGBZoneDevice : AbstractOpenRGBDevice<OpenRGBDeviceInfo>
|
||||
public sealed class OpenRGBZoneDevice : AbstractOpenRGBDevice<OpenRGBDeviceInfo>
|
||||
{
|
||||
#region Properties & Fields
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ using RGB.NET.Core;
|
||||
namespace RGB.NET.Devices.OpenRGB;
|
||||
|
||||
/// <inheritdoc />
|
||||
public class OpenRGBSegmentDevice : AbstractOpenRGBDevice<OpenRGBDeviceInfo>
|
||||
public sealed class OpenRGBSegmentDevice : AbstractOpenRGBDevice<OpenRGBDeviceInfo>
|
||||
{
|
||||
#region Properties & Fields
|
||||
|
||||
|
||||
Reference in new issue
Block a user