Changed all namespaces to file-scope

This commit is contained in:
DarthAffe committed 2021-11-13 17:35:08 +01:00
1 parent a0c6ccebea
commit 30624035f1
353 files changed
+35775 -36129

No files matched your search

@@ -1,36 +1,35 @@
using System;
using RGB.NET.Core;
namespace RGB.NET.Devices.CoolerMaster
namespace RGB.NET.Devices.CoolerMaster;
/// <inheritdoc />
/// <summary>
/// Specifies the <see cref="T:RGB.NET.Core.RGBDeviceType" /> of a field.
/// </summary>
[AttributeUsage(AttributeTargets.Field)]
public class DeviceTypeAttribute : Attribute
{
#region Properties & Fields
/// <summary>
/// Gets the <see cref="RGBDeviceType"/>.
/// </summary>
public RGBDeviceType DeviceType { get; }
#endregion
#region Constructors
/// <inheritdoc />
/// <summary>
/// Specifies the <see cref="T:RGB.NET.Core.RGBDeviceType" /> of a field.
/// Internal constructor of the <see cref="T:RGB.NET.Devices.CoolerMaster.DeviceTypeAttribute" /> class.
/// </summary>
[AttributeUsage(AttributeTargets.Field)]
public class DeviceTypeAttribute : Attribute
/// <param name="deviceType">The <see cref="T:RGB.NET.Core.RGBDeviceType" />.</param>
public DeviceTypeAttribute(RGBDeviceType deviceType)
{
#region Properties & Fields
/// <summary>
/// Gets the <see cref="RGBDeviceType"/>.
/// </summary>
public RGBDeviceType DeviceType { get; }
#endregion
#region Constructors
/// <inheritdoc />
/// <summary>
/// Internal constructor of the <see cref="T:RGB.NET.Devices.CoolerMaster.DeviceTypeAttribute" /> class.
/// </summary>
/// <param name="deviceType">The <see cref="T:RGB.NET.Core.RGBDeviceType" />.</param>
public DeviceTypeAttribute(RGBDeviceType deviceType)
{
this.DeviceType = deviceType;
}
#endregion
this.DeviceType = deviceType;
}
}
#endregion
}