Core - Flattened namespaces

Shared UI - Flattened namespaces
Shared UI - General housekeeping
Project - Code cleanup
This commit is contained in:
SpoinkyNL committed 2020-09-01 00:14:08 +02:00
1 parent 029e39ec1d
commit 8718d01eae
454 files changed
+1678 -1938

No files matched your search

@@ -1,6 +1,6 @@
using System.IO;
namespace Artemis.Core.Extensions
namespace Artemis.Core
{
public static class DirectoryInfoExtensions
{
@@ -1,7 +1,7 @@
using System;
using System.Runtime.CompilerServices;
namespace Artemis.Core.Extensions
namespace Artemis.Core
{
public static class DoubleExtensions
{
@@ -1,6 +1,6 @@
using System;
namespace Artemis.Core.Extensions
namespace Artemis.Core
{
public static class FloatExtensions
{
@@ -22,7 +22,7 @@
using System;
using System.Collections.Generic;
namespace Artemis.Core.Extensions
namespace Artemis.Core
{
public static class IEnumerableExtensions
{
@@ -1,10 +1,9 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Text;
namespace Artemis.Core.Extensions
namespace Artemis.Core
{
public static class ProcessExtensions
{
@@ -30,4 +29,4 @@ namespace Artemis.Core.Extensions
QueryLimitedInformation = 0x00001000
}
}
}
}
@@ -1,7 +1,7 @@
using System.Text;
using RGB.NET.Core;
namespace Artemis.Core.Extensions
namespace Artemis.Core
{
public static class RgbDeviceExtensions
{
@@ -1,7 +1,7 @@
using RGB.NET.Core;
using SkiaSharp;
namespace Artemis.Core.Extensions
namespace Artemis.Core
{
public static class RgbRectangleExtensions
{
@@ -2,7 +2,7 @@
using RGB.NET.Core;
using SkiaSharp;
namespace Artemis.Core.Extensions
namespace Artemis.Core
{
// ReSharper disable once InconsistentNaming - I didn't come up with SKColor
public static class SKColorExtensions
@@ -29,7 +29,7 @@ namespace Artemis.Core.Extensions
private static byte ClampToByte(float value)
{
return (byte)Math.Clamp(value, 0, 255);
return (byte) Math.Clamp(value, 0, 255);
}
}
}
@@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Artemis.Core.Extensions
namespace Artemis.Core
{
public static class TypeExtensions
{
@@ -65,7 +65,7 @@ namespace Artemis.Core.Extensions
// From https://stackoverflow.com/a/2224421/5015269 but inverted and renamed to match similar framework methods
/// <summary>
/// Determines whether an instance of a specified type can be casted to a variable of the current type
/// Determines whether an instance of a specified type can be casted to a variable of the current type
/// </summary>
/// <param name="to"></param>
/// <param name="from"></param>