From e6195614b0eb0f0e68f8b566e2d6b230e36ba703 Mon Sep 17 00:00:00 2001 From: num0005 Date: Tue, 25 Jun 2024 03:40:11 +0100 Subject: [PATCH] Remove and sort usings. --- Launcher/Documentation.cs | 11 ++++------- Launcher/FBXHelper.cs | 3 --- Launcher/LightmapConfigSettings.cs | 8 +------- Launcher/MainWindow.xaml.cs | 17 ++++++++--------- Launcher/Properties/AssemblyInfo.cs | 2 -- Launcher/ToolkitInterface/H1Toolkit.cs | 1 - Launcher/ToolkitInterface/H2Toolkit.cs | 7 ++----- Launcher/ToolkitInterface/H3ODSTToolkit.cs | 7 +------ Launcher/ToolkitInterface/H3Toolkit.cs | 5 ----- Launcher/ToolkitInterface/H4Toolkit.cs | 9 +-------- Launcher/ToolkitInterface/HRToolkit.cs | 8 +------- Launcher/ToolkitProfiles.cs | 1 - Launcher/UI/LauncherThemeSettings.cs | 7 +------ Launcher/Utility/GitHubReleases.cs | 12 +++++------- Launcher/Utility/ManagedBlam.cs | 3 +-- Launcher/Utility/PRTInstaller.cs | 3 --- 16 files changed, 25 insertions(+), 79 deletions(-) diff --git a/Launcher/Documentation.cs b/Launcher/Documentation.cs index eb7bdbd..6f29f2f 100644 --- a/Launcher/Documentation.cs +++ b/Launcher/Documentation.cs @@ -1,12 +1,9 @@ -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Serialization; +using System; +using System.Collections.Generic; using System.IO; using System.Reflection; -using Palit.TLSHSharp; -using System; -using System.ComponentModel; -using System.Windows.Input; +using System.Text.Json; +using System.Text.Json.Serialization; using ToolkitLauncher.Utility; namespace ToolkitLauncher diff --git a/Launcher/FBXHelper.cs b/Launcher/FBXHelper.cs index 7bd7b2d..ee22333 100644 --- a/Launcher/FBXHelper.cs +++ b/Launcher/FBXHelper.cs @@ -1,8 +1,5 @@ using System; -using System.Collections.Generic; using System.IO; -using System.Linq; -using System.Text; using System.Threading.Tasks; using ToolkitLauncher.Properties; using ToolkitLauncher.ToolkitInterface; diff --git a/Launcher/LightmapConfigSettings.cs b/Launcher/LightmapConfigSettings.cs index 85d1687..c9c7cf0 100644 --- a/Launcher/LightmapConfigSettings.cs +++ b/Launcher/LightmapConfigSettings.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace ToolkitLauncher +namespace ToolkitLauncher { public class LightmapConfigSettings { diff --git a/Launcher/MainWindow.xaml.cs b/Launcher/MainWindow.xaml.cs index 1d0b378..e948b5c 100644 --- a/Launcher/MainWindow.xaml.cs +++ b/Launcher/MainWindow.xaml.cs @@ -3,20 +3,19 @@ using System.ComponentModel; using System.Diagnostics; using System.IO; +using System.Linq; +using System.Reflection; +using System.Runtime.Serialization; +using System.Threading; +using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; +using System.Windows.Documents; using System.Windows.Input; -using ToolkitLauncher.Properties; -using ToolkitLauncher.ToolkitInterface; -using System.Threading.Tasks; using System.Windows.Navigation; -using System.Windows.Documents; -using System.Linq; -using System.Xml; using System.Xml.Linq; -using System.Threading; -using System.Reflection; -using System.Runtime.Serialization; +using ToolkitLauncher.Properties; +using ToolkitLauncher.ToolkitInterface; namespace ToolkitLauncher { diff --git a/Launcher/Properties/AssemblyInfo.cs b/Launcher/Properties/AssemblyInfo.cs index 7cfdac1..f06a42c 100644 --- a/Launcher/Properties/AssemblyInfo.cs +++ b/Launcher/Properties/AssemblyInfo.cs @@ -1,6 +1,4 @@ using System.Reflection; -using System.Resources; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; diff --git a/Launcher/ToolkitInterface/H1Toolkit.cs b/Launcher/ToolkitInterface/H1Toolkit.cs index 01e5836..f84f56d 100644 --- a/Launcher/ToolkitInterface/H1Toolkit.cs +++ b/Launcher/ToolkitInterface/H1Toolkit.cs @@ -3,7 +3,6 @@ using System.Diagnostics; using System.Threading; using System.Threading.Tasks; -using ToolkitLauncher.Utility; using static ToolkitLauncher.ToolkitProfiles; namespace ToolkitLauncher.ToolkitInterface diff --git a/Launcher/ToolkitInterface/H2Toolkit.cs b/Launcher/ToolkitInterface/H2Toolkit.cs index 0c49981..c739c0d 100644 --- a/Launcher/ToolkitInterface/H2Toolkit.cs +++ b/Launcher/ToolkitInterface/H2Toolkit.cs @@ -1,11 +1,8 @@ using System.Collections.Generic; +using System.Diagnostics; +using System.Threading; using System.Threading.Tasks; -using System; using static ToolkitLauncher.ToolkitProfiles; -using System.IO; -using System.Threading; -using System.Diagnostics; -using ToolkitLauncher.Utility; namespace ToolkitLauncher.ToolkitInterface { diff --git a/Launcher/ToolkitInterface/H3ODSTToolkit.cs b/Launcher/ToolkitInterface/H3ODSTToolkit.cs index af1f055..ca9b8c9 100644 --- a/Launcher/ToolkitInterface/H3ODSTToolkit.cs +++ b/Launcher/ToolkitInterface/H3ODSTToolkit.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using System.Diagnostics; -using System.IO; -using System.Threading; +using System.Collections.Generic; using System.Threading.Tasks; using ToolkitLauncher.Utility; using static ToolkitLauncher.ToolkitProfiles; diff --git a/Launcher/ToolkitInterface/H3Toolkit.cs b/Launcher/ToolkitInterface/H3Toolkit.cs index c2ee455..f7b238a 100644 --- a/Launcher/ToolkitInterface/H3Toolkit.cs +++ b/Launcher/ToolkitInterface/H3Toolkit.cs @@ -1,12 +1,7 @@ using System; -using System.Collections; using System.Collections.Generic; using System.Diagnostics; -using System.IO; -using System.Threading; using System.Threading.Tasks; -using System.Windows.Documents; -using System.Windows.Shapes; using ToolkitLauncher.Utility; using static ToolkitLauncher.ToolkitProfiles; using Path = System.IO.Path; diff --git a/Launcher/ToolkitInterface/H4Toolkit.cs b/Launcher/ToolkitInterface/H4Toolkit.cs index 19da9f3..ce205cf 100644 --- a/Launcher/ToolkitInterface/H4Toolkit.cs +++ b/Launcher/ToolkitInterface/H4Toolkit.cs @@ -1,12 +1,5 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using System.Diagnostics; -using System.IO; -using System.Threading; +using System.Collections.Generic; using System.Threading.Tasks; -using System.Xml; -using ToolkitLauncher.Utility; using static ToolkitLauncher.ToolkitProfiles; namespace ToolkitLauncher.ToolkitInterface diff --git a/Launcher/ToolkitInterface/HRToolkit.cs b/Launcher/ToolkitInterface/HRToolkit.cs index 0588f34..ec517f4 100644 --- a/Launcher/ToolkitInterface/HRToolkit.cs +++ b/Launcher/ToolkitInterface/HRToolkit.cs @@ -1,12 +1,6 @@ -using System; -using System.Collections; -using System.Collections.Generic; +using System.Collections.Generic; using System.Diagnostics; -using System.IO; -using System.Threading; using System.Threading.Tasks; -using System.Xml; -using ToolkitLauncher.Utility; using static ToolkitLauncher.ToolkitProfiles; namespace ToolkitLauncher.ToolkitInterface diff --git a/Launcher/ToolkitProfiles.cs b/Launcher/ToolkitProfiles.cs index a716314..4cae2e3 100644 --- a/Launcher/ToolkitProfiles.cs +++ b/Launcher/ToolkitProfiles.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.IO; -using System.Runtime.CompilerServices; using System.Text.Json; using System.Text.Json.Serialization; diff --git a/Launcher/UI/LauncherThemeSettings.cs b/Launcher/UI/LauncherThemeSettings.cs index 35152ba..7e80884 100644 --- a/Launcher/UI/LauncherThemeSettings.cs +++ b/Launcher/UI/LauncherThemeSettings.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; +using System.Windows; using System.Windows.Media; namespace ToolkitLauncher.UI diff --git a/Launcher/Utility/GitHubReleases.cs b/Launcher/Utility/GitHubReleases.cs index 5f0998b..c1974f3 100644 --- a/Launcher/Utility/GitHubReleases.cs +++ b/Launcher/Utility/GitHubReleases.cs @@ -1,14 +1,12 @@ -using System; +using Octokit; +using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Net.Http; -using System.Reflection; -using Octokit; using System.Diagnostics; using System.IO; +using System.Net.Http; +using System.Reflection; using System.Threading; +using System.Threading.Tasks; namespace ToolkitLauncher.Utility { diff --git a/Launcher/Utility/ManagedBlam.cs b/Launcher/Utility/ManagedBlam.cs index 4675636..6d10e62 100644 --- a/Launcher/Utility/ManagedBlam.cs +++ b/Launcher/Utility/ManagedBlam.cs @@ -1,5 +1,4 @@ -using System; -using System.Diagnostics; +using System.Diagnostics; using System.IO; using System.Windows.Forms; diff --git a/Launcher/Utility/PRTInstaller.cs b/Launcher/Utility/PRTInstaller.cs index feedb19..3a97bfd 100644 --- a/Launcher/Utility/PRTInstaller.cs +++ b/Launcher/Utility/PRTInstaller.cs @@ -3,12 +3,9 @@ using System.Diagnostics; using System.IO; using System.Linq; -using System.Runtime.InteropServices; using System.Threading; using System.Threading.Tasks; using System.Windows; -using System.Windows.Shapes; -using ToolkitLauncher.Utility; using Path = System.IO.Path; namespace ToolkitLauncher.Utility