diff --git a/Wabbajack.Lib/ABatchProcessor.cs b/Wabbajack.Lib/ABatchProcessor.cs index e211b6d8..a0934441 100644 --- a/Wabbajack.Lib/ABatchProcessor.cs +++ b/Wabbajack.Lib/ABatchProcessor.cs @@ -1,12 +1,8 @@ using System; -using System.Collections.Generic; using System.IO; -using System.Linq; using System.Reactive.Subjects; -using System.Text; using System.Threading; using System.Threading.Tasks; -using ReactiveUI; using Wabbajack.Common; using Wabbajack.VirtualFileSystem; diff --git a/Wabbajack.Lib/AInstaller.cs b/Wabbajack.Lib/AInstaller.cs index a76e9a47..a17a7983 100644 --- a/Wabbajack.Lib/AInstaller.cs +++ b/Wabbajack.Lib/AInstaller.cs @@ -1,17 +1,13 @@ using System; using System.Collections.Generic; -using System.Diagnostics.Eventing.Reader; using System.IO; using System.IO.Compression; using System.Linq; -using System.Windows.Navigation; using Alphaleonis.Win32.Filesystem; using Wabbajack.Common; using Wabbajack.Lib.Downloaders; using Wabbajack.VirtualFileSystem; -using Context = Wabbajack.VirtualFileSystem.Context; using Directory = Alphaleonis.Win32.Filesystem.Directory; -using DriveInfo = Alphaleonis.Win32.Filesystem.DriveInfo; using File = System.IO.File; using FileInfo = System.IO.FileInfo; using Path = Alphaleonis.Win32.Filesystem.Path; diff --git a/Wabbajack.Lib/CompilationSteps/IgnoreDisabledVortexMods.cs b/Wabbajack.Lib/CompilationSteps/IgnoreDisabledVortexMods.cs index aa283805..b27dba67 100644 --- a/Wabbajack.Lib/CompilationSteps/IgnoreDisabledVortexMods.cs +++ b/Wabbajack.Lib/CompilationSteps/IgnoreDisabledVortexMods.cs @@ -1,5 +1,4 @@ -using Alphaleonis.Win32.Filesystem; -using Wabbajack.Common; +using Wabbajack.Common; namespace Wabbajack.Lib.CompilationSteps { diff --git a/Wabbajack.Lib/CompilationSteps/IgnoreVortex.cs b/Wabbajack.Lib/CompilationSteps/IgnoreVortex.cs index b7e01122..66b70846 100644 --- a/Wabbajack.Lib/CompilationSteps/IgnoreVortex.cs +++ b/Wabbajack.Lib/CompilationSteps/IgnoreVortex.cs @@ -1,7 +1,5 @@ -using System; -using System.IO; +using System.IO; using Newtonsoft.Json; -using Wabbajack.Common; namespace Wabbajack.Lib.CompilationSteps { diff --git a/Wabbajack.Lib/CompilationSteps/IncludePropertyFiles.cs b/Wabbajack.Lib/CompilationSteps/IncludePropertyFiles.cs index 98a992f7..103c8d9d 100644 --- a/Wabbajack.Lib/CompilationSteps/IncludePropertyFiles.cs +++ b/Wabbajack.Lib/CompilationSteps/IncludePropertyFiles.cs @@ -2,7 +2,6 @@ using System.Linq; using Alphaleonis.Win32.Filesystem; using Newtonsoft.Json; -using Wabbajack.Common; namespace Wabbajack.Lib.CompilationSteps { diff --git a/Wabbajack.Lib/Downloaders/AbstractDownloadState.cs b/Wabbajack.Lib/Downloaders/AbstractDownloadState.cs index 8fe385b1..158bf0ca 100644 --- a/Wabbajack.Lib/Downloaders/AbstractDownloadState.cs +++ b/Wabbajack.Lib/Downloaders/AbstractDownloadState.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Forms.VisualStyles; -using Alphaleonis.Win32.Filesystem; +using Alphaleonis.Win32.Filesystem; using Wabbajack.Lib.Validation; namespace Wabbajack.Lib.Downloaders diff --git a/Wabbajack.Lib/Downloaders/DownloadDispatcher.cs b/Wabbajack.Lib/Downloaders/DownloadDispatcher.cs index cd96be83..4ae2efd1 100644 --- a/Wabbajack.Lib/Downloaders/DownloadDispatcher.cs +++ b/Wabbajack.Lib/Downloaders/DownloadDispatcher.cs @@ -1,9 +1,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Security.Policy; -using System.Text; -using System.Threading.Tasks; using Wabbajack.Common; namespace Wabbajack.Lib.Downloaders diff --git a/Wabbajack.Lib/Downloaders/DownloaderUtils.cs b/Wabbajack.Lib/Downloaders/DownloaderUtils.cs index 3db55b89..fbe309d8 100644 --- a/Wabbajack.Lib/Downloaders/DownloaderUtils.cs +++ b/Wabbajack.Lib/Downloaders/DownloaderUtils.cs @@ -1,8 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Wabbajack.Lib.Downloaders { diff --git a/Wabbajack.Lib/Downloaders/DropboxDownloader.cs b/Wabbajack.Lib/Downloaders/DropboxDownloader.cs index 32952e7e..94d248ee 100644 --- a/Wabbajack.Lib/Downloaders/DropboxDownloader.cs +++ b/Wabbajack.Lib/Downloaders/DropboxDownloader.cs @@ -1,8 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using System.Web; namespace Wabbajack.Lib.Downloaders diff --git a/Wabbajack.Lib/Downloaders/GoogleDriveDownloader.cs b/Wabbajack.Lib/Downloaders/GoogleDriveDownloader.cs index 60f7055f..177f578a 100644 --- a/Wabbajack.Lib/Downloaders/GoogleDriveDownloader.cs +++ b/Wabbajack.Lib/Downloaders/GoogleDriveDownloader.cs @@ -1,11 +1,5 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Net.Http; -using System.Security.Cryptography.X509Certificates; -using System.Text; +using System.Net.Http; using System.Text.RegularExpressions; -using System.Threading.Tasks; using Wabbajack.Common; using Wabbajack.Lib.Validation; diff --git a/Wabbajack.Lib/Downloaders/IDownloader.cs b/Wabbajack.Lib/Downloaders/IDownloader.cs index 6bca05fd..7d05525d 100644 --- a/Wabbajack.Lib/Downloaders/IDownloader.cs +++ b/Wabbajack.Lib/Downloaders/IDownloader.cs @@ -1,11 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Wabbajack.Lib.Validation; - -namespace Wabbajack.Lib.Downloaders +namespace Wabbajack.Lib.Downloaders { public interface IDownloader { diff --git a/Wabbajack.Lib/Downloaders/IUrlDownloader.cs b/Wabbajack.Lib/Downloaders/IUrlDownloader.cs index 46d60124..7650e0e5 100644 --- a/Wabbajack.Lib/Downloaders/IUrlDownloader.cs +++ b/Wabbajack.Lib/Downloaders/IUrlDownloader.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Wabbajack.Lib.Downloaders +namespace Wabbajack.Lib.Downloaders { public interface IUrlDownloader : IDownloader { diff --git a/Wabbajack.Lib/Downloaders/MEGADownloader.cs b/Wabbajack.Lib/Downloaders/MEGADownloader.cs index 617304ae..16c1aecb 100644 --- a/Wabbajack.Lib/Downloaders/MEGADownloader.cs +++ b/Wabbajack.Lib/Downloaders/MEGADownloader.cs @@ -1,15 +1,6 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Linq.Expressions; -using System.Runtime.InteropServices.WindowsRuntime; -using System.Security.Policy; -using System.Text; -using System.Threading.Tasks; -using Alphaleonis.Win32.Filesystem; using CG.Web.MegaApiClient; using Wabbajack.Common; -using Wabbajack.Lib.Validation; namespace Wabbajack.Lib.Downloaders { diff --git a/Wabbajack.Lib/Downloaders/ManualDownloader.cs b/Wabbajack.Lib/Downloaders/ManualDownloader.cs index eefb1c5a..89ecfde8 100644 --- a/Wabbajack.Lib/Downloaders/ManualDownloader.cs +++ b/Wabbajack.Lib/Downloaders/ManualDownloader.cs @@ -1,13 +1,9 @@ using System; -using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reactive.Linq; using System.Reactive.Subjects; -using System.Reactive.Threading.Tasks; -using System.Text; -using System.Threading.Tasks; using Syroot.Windows.IO; using Wabbajack.Common; using Wabbajack.Lib.Validation; diff --git a/Wabbajack.Lib/Downloaders/MediaFireDownloader.cs b/Wabbajack.Lib/Downloaders/MediaFireDownloader.cs index 7859edee..913b3e3e 100644 --- a/Wabbajack.Lib/Downloaders/MediaFireDownloader.cs +++ b/Wabbajack.Lib/Downloaders/MediaFireDownloader.cs @@ -1,10 +1,6 @@ using System; -using System.Collections.Generic; using System.Linq; using System.Net.Http; -using System.Runtime.InteropServices.WindowsRuntime; -using System.Text; -using System.Threading; using System.Threading.Tasks; using Wabbajack.Lib.Validation; using Wabbajack.Lib.WebAutomation; diff --git a/Wabbajack.Lib/Downloaders/ModDBDownloader.cs b/Wabbajack.Lib/Downloaders/ModDBDownloader.cs index fa7d0697..0a8288e4 100644 --- a/Wabbajack.Lib/Downloaders/ModDBDownloader.cs +++ b/Wabbajack.Lib/Downloaders/ModDBDownloader.cs @@ -1,10 +1,5 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Net.Http; -using System.Text; +using System.Net.Http; using System.Text.RegularExpressions; -using System.Threading.Tasks; using Wabbajack.Common; using Wabbajack.Lib.Validation; diff --git a/Wabbajack.Lib/Downloaders/NexusDownloader.cs b/Wabbajack.Lib/Downloaders/NexusDownloader.cs index 47ffec97..ddc2e69f 100644 --- a/Wabbajack.Lib/Downloaders/NexusDownloader.cs +++ b/Wabbajack.Lib/Downloaders/NexusDownloader.cs @@ -1,12 +1,8 @@ using System; -using System.Collections.Generic; using System.Linq; -using System.Text; -using System.Threading.Tasks; using Wabbajack.Common; using Wabbajack.Lib.NexusApi; using Wabbajack.Lib.Validation; -using Game = Wabbajack.Common.Game; namespace Wabbajack.Lib.Downloaders { diff --git a/Wabbajack.Lib/IBatchProcessor.cs b/Wabbajack.Lib/IBatchProcessor.cs index f9625b8e..60d8a5c8 100644 --- a/Wabbajack.Lib/IBatchProcessor.cs +++ b/Wabbajack.Lib/IBatchProcessor.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Threading.Tasks; using Wabbajack.Common; diff --git a/Wabbajack.Lib/MO2Compiler.cs b/Wabbajack.Lib/MO2Compiler.cs index 2590d445..a86622e7 100644 --- a/Wabbajack.Lib/MO2Compiler.cs +++ b/Wabbajack.Lib/MO2Compiler.cs @@ -9,7 +9,6 @@ using Wabbajack.Common; using Wabbajack.Lib.CompilationSteps; using Wabbajack.Lib.NexusApi; using Wabbajack.Lib.Validation; -using Wabbajack.VirtualFileSystem; using Directory = Alphaleonis.Win32.Filesystem.Directory; using File = Alphaleonis.Win32.Filesystem.File; using Path = Alphaleonis.Win32.Filesystem.Path; diff --git a/Wabbajack.Lib/MO2Installer.cs b/Wabbajack.Lib/MO2Installer.cs index 5d0f992d..eff8019c 100644 --- a/Wabbajack.Lib/MO2Installer.cs +++ b/Wabbajack.Lib/MO2Installer.cs @@ -3,15 +3,12 @@ using System.IO; using System.Linq; using System.Text; using System.Windows; -using System.Windows.Forms.VisualStyles; using Wabbajack.Common; using Wabbajack.Lib.Downloaders; using Wabbajack.Lib.NexusApi; using Wabbajack.Lib.Validation; -using Wabbajack.VirtualFileSystem; using Directory = Alphaleonis.Win32.Filesystem.Directory; using File = Alphaleonis.Win32.Filesystem.File; -using FileInfo = Alphaleonis.Win32.Filesystem.FileInfo; using Path = Alphaleonis.Win32.Filesystem.Path; namespace Wabbajack.Lib diff --git a/Wabbajack.Lib/ModListRegistry/ModListMetadata.cs b/Wabbajack.Lib/ModListRegistry/ModListMetadata.cs index 36fa30b9..0e558ba7 100644 --- a/Wabbajack.Lib/ModListRegistry/ModListMetadata.cs +++ b/Wabbajack.Lib/ModListRegistry/ModListMetadata.cs @@ -1,18 +1,8 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; +using System.Collections.Generic; using System.Net.Http; -using System.Text; -using System.Threading.Tasks; using System.Windows.Media.Imaging; -using CommonMark.Syntax; using Newtonsoft.Json; using Wabbajack.Common; -using Wabbajack.Lib.Downloaders; -using Wabbajack.Lib.Validation; -using YamlDotNet.Serialization; -using YamlDotNet.Serialization.NamingConventions; using File = System.IO.File; using Game = Wabbajack.Common.Game; diff --git a/Wabbajack.Lib/NexusApi/NexusApi.cs b/Wabbajack.Lib/NexusApi/NexusApi.cs index df7ecb40..9e46b8ee 100644 --- a/Wabbajack.Lib/NexusApi/NexusApi.cs +++ b/Wabbajack.Lib/NexusApi/NexusApi.cs @@ -1,7 +1,6 @@ using ReactiveUI; using System; using System.Collections.Generic; -using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Linq; @@ -9,12 +8,10 @@ using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Reflection; -using System.Runtime.Serialization.Json; using System.Security.Authentication; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; -using Microsoft.WindowsAPICodePack.Shell; using Syroot.Windows.IO; using Wabbajack.Common; using Wabbajack.Lib.Downloaders; diff --git a/Wabbajack.Lib/Properties/AssemblyInfo.cs b/Wabbajack.Lib/Properties/AssemblyInfo.cs index 7cacd2e0..5d41ef04 100644 --- a/Wabbajack.Lib/Properties/AssemblyInfo.cs +++ b/Wabbajack.Lib/Properties/AssemblyInfo.cs @@ -1,5 +1,4 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/Wabbajack.Lib/ReportBuilder.cs b/Wabbajack.Lib/ReportBuilder.cs index 06a804a5..a1f5d6a9 100644 --- a/Wabbajack.Lib/ReportBuilder.cs +++ b/Wabbajack.Lib/ReportBuilder.cs @@ -3,7 +3,6 @@ using System.Collections.Generic; using System.IO; using System.Linq; using Wabbajack.Common; -using Wabbajack.Lib.NexusApi; using File = Alphaleonis.Win32.Filesystem.File; using Path = Alphaleonis.Win32.Filesystem.Path; diff --git a/Wabbajack.Lib/UI/UIUtils.cs b/Wabbajack.Lib/UI/UIUtils.cs index a3fc6c24..49f542f4 100644 --- a/Wabbajack.Lib/UI/UIUtils.cs +++ b/Wabbajack.Lib/UI/UIUtils.cs @@ -1,13 +1,11 @@ using Microsoft.WindowsAPICodePack.Dialogs; using System; using System.IO; -using System.Linq; using System.Reflection; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; using System.Windows.Media.Imaging; -using System.Windows.Threading; using Wabbajack.Common; namespace Wabbajack.Lib diff --git a/Wabbajack.Lib/ViewModel.cs b/Wabbajack.Lib/ViewModel.cs index e41e5ba3..80f4d59d 100644 --- a/Wabbajack.Lib/ViewModel.cs +++ b/Wabbajack.Lib/ViewModel.cs @@ -1,12 +1,8 @@ using ReactiveUI; using System; using System.Collections.Generic; -using System.ComponentModel; -using System.Linq; using System.Reactive.Disposables; using System.Runtime.CompilerServices; -using System.Text; -using System.Threading.Tasks; namespace Wabbajack.Lib { diff --git a/Wabbajack.Lib/VortexCompiler.cs b/Wabbajack.Lib/VortexCompiler.cs index a3cac3e7..0ebe03ad 100644 --- a/Wabbajack.Lib/VortexCompiler.cs +++ b/Wabbajack.Lib/VortexCompiler.cs @@ -9,7 +9,6 @@ using Newtonsoft.Json; using Wabbajack.Common; using Wabbajack.Lib.CompilationSteps; using Wabbajack.Lib.NexusApi; -using Wabbajack.VirtualFileSystem; using File = Alphaleonis.Win32.Filesystem.File; namespace Wabbajack.Lib diff --git a/Wabbajack.Lib/VortexInstaller.cs b/Wabbajack.Lib/VortexInstaller.cs index 30e278a7..645ab8aa 100644 --- a/Wabbajack.Lib/VortexInstaller.cs +++ b/Wabbajack.Lib/VortexInstaller.cs @@ -1,6 +1,5 @@ using System.Linq; using Wabbajack.Common; -using Wabbajack.VirtualFileSystem; using Directory = Alphaleonis.Win32.Filesystem.Directory; using File = Alphaleonis.Win32.Filesystem.File; using Path = Alphaleonis.Win32.Filesystem.Path; diff --git a/Wabbajack.Lib/WebAutomation/WebAutomation.cs b/Wabbajack.Lib/WebAutomation/WebAutomation.cs index 3efc46e2..bca33e28 100644 --- a/Wabbajack.Lib/WebAutomation/WebAutomation.cs +++ b/Wabbajack.Lib/WebAutomation/WebAutomation.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows; diff --git a/Wabbajack.Lib/WebAutomation/WebAutomationWindow.xaml.cs b/Wabbajack.Lib/WebAutomation/WebAutomationWindow.xaml.cs index 3ddbb50b..091dc88e 100644 --- a/Wabbajack.Lib/WebAutomation/WebAutomationWindow.xaml.cs +++ b/Wabbajack.Lib/WebAutomation/WebAutomationWindow.xaml.cs @@ -1,16 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Shapes; +using System.Windows; using Wabbajack.Lib.WebAutomation; namespace Wabbajack diff --git a/Wabbajack.Lib/WebAutomation/WebAutomationWindowViewModel.cs b/Wabbajack.Lib/WebAutomation/WebAutomationWindowViewModel.cs index 7841d27e..5ccd55bd 100644 --- a/Wabbajack.Lib/WebAutomation/WebAutomationWindowViewModel.cs +++ b/Wabbajack.Lib/WebAutomation/WebAutomationWindowViewModel.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Threading.Tasks; using Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT; using Microsoft.Toolkit.Wpf.UI.Controls;