Fix namespaces and imports

This commit is contained in:
Ben Olden-Cooligan 2022-10-01 16:38:06 -07:00
parent 1337d98be1
commit 1e74dcc360
27 changed files with 13 additions and 40 deletions

View File

@ -2,7 +2,6 @@ using Eto.Drawing;
using Eto.Forms; using Eto.Forms;
using Eto.GtkSharp.Drawing; using Eto.GtkSharp.Drawing;
using NAPS2.Images.Gtk; using NAPS2.Images.Gtk;
using sd = System.Drawing;
namespace NAPS2.EtoForms.Gtk; namespace NAPS2.EtoForms.Gtk;

View File

@ -2,7 +2,6 @@ using Eto.Forms;
using Eto.GtkSharp; using Eto.GtkSharp;
using Gtk; using Gtk;
using Orientation = Gtk.Orientation; using Orientation = Gtk.Orientation;
using GtkImageView = Gtk.Image;
namespace NAPS2.EtoForms.Gtk; namespace NAPS2.EtoForms.Gtk;

View File

@ -3,7 +3,6 @@ using NAPS2.EtoForms.Mac;
using NAPS2.EtoForms.Ui; using NAPS2.EtoForms.Ui;
using NAPS2.Images.Mac; using NAPS2.Images.Mac;
using NAPS2.ImportExport; using NAPS2.ImportExport;
using NAPS2.ImportExport.Images;
using NAPS2.ImportExport.Pdf; using NAPS2.ImportExport.Pdf;
using NAPS2.Scan; using NAPS2.Scan;
using NAPS2.Update; using NAPS2.Update;

View File

@ -1,8 +1,8 @@
using System.Drawing;
using NAPS2.Automation; using NAPS2.Automation;
using NAPS2.Modules; using NAPS2.Modules;
using NAPS2.Scan.Internal; using NAPS2.Scan.Internal;
using NAPS2.Sdk.Tests; using NAPS2.Sdk.Tests;
using NAPS2.Sdk.Tests.Mocks;
using Ninject; using Ninject;
using Xunit.Abstractions; using Xunit.Abstractions;

View File

@ -1,10 +1,8 @@
using System.Drawing;
using NAPS2.Automation; using NAPS2.Automation;
using NAPS2.ImportExport.Pdf; using NAPS2.ImportExport.Pdf;
using NAPS2.Sdk.Tests; using NAPS2.Sdk.Tests;
using NAPS2.Sdk.Tests.Asserts; using NAPS2.Sdk.Tests.Asserts;
using NAPS2.Sdk.Tests.Images; using NAPS2.Sdk.Tests.Mocks;
using NAPS2.Sdk.Tests.Ocr;
using Ninject; using Ninject;
using Xunit; using Xunit;
using Xunit.Abstractions; using Xunit.Abstractions;

View File

@ -1,5 +1,4 @@
using NAPS2.Automation; using NAPS2.Automation;
using NAPS2.ImportExport.Images;
using NAPS2.Ocr; using NAPS2.Ocr;
using NAPS2.Recovery; using NAPS2.Recovery;
using NAPS2.Scan; using NAPS2.Scan;

View File

@ -2,11 +2,12 @@
using NAPS2.ImportExport; using NAPS2.ImportExport;
using NAPS2.ImportExport.Pdf; using NAPS2.ImportExport.Pdf;
using NAPS2.Scan; using NAPS2.Scan;
using NAPS2.Sdk.Tests;
using NAPS2.Sdk.Tests.Asserts; using NAPS2.Sdk.Tests.Asserts;
using NAPS2.WinForms; using NAPS2.WinForms;
using Xunit; using Xunit;
namespace NAPS2.Sdk.Tests.Scan; namespace NAPS2.Lib.Tests.Scan;
public class AutoSaverTests : ContextualTests public class AutoSaverTests : ContextualTests
{ {

View File

@ -1,7 +1,8 @@
using NAPS2.Sdk.Tests;
using NAPS2.Serialization; using NAPS2.Serialization;
using Xunit; using Xunit;
namespace NAPS2.Sdk.Tests.Serialization; namespace NAPS2.Lib.Tests.Serialization;
public class SecureStorageTests public class SecureStorageTests
{ {

View File

@ -1,5 +1,4 @@
using System.Windows.Forms; using Xunit;
using Xunit;
namespace NAPS2.Lib.Tests.Asserts; namespace NAPS2.Lib.Tests.Asserts;

View File

@ -1,5 +1,4 @@
using NAPS2.Images.Gdi; using NAPS2.Images.Gdi;
using NAPS2.ImportExport.Images;
using Ninject.Modules; using Ninject.Modules;
namespace NAPS2.Modules; namespace NAPS2.Modules;

View File

@ -1,5 +1,4 @@
using System.Reflection; using System.Security.Principal;
using System.Security.Principal;
using System.Windows.Forms; using System.Windows.Forms;
using NAPS2.Remoting; using NAPS2.Remoting;

View File

@ -1,7 +1,6 @@
using System.Drawing; using System.Drawing;
using System.Threading; using System.Threading;
using System.Windows.Forms; using System.Windows.Forms;
using Eto.WinForms;
using NAPS2.EtoForms; using NAPS2.EtoForms;
using NAPS2.EtoForms.WinForms; using NAPS2.EtoForms.WinForms;
using NAPS2.ImportExport; using NAPS2.ImportExport;

View File

@ -1,7 +1,5 @@
using System.Drawing; using System.Drawing;
using System.Windows.Forms; using System.Windows.Forms;
using Eto.WinForms;
using NAPS2.EtoForms;
using NAPS2.ImportExport.Email; using NAPS2.ImportExport.Email;
using NAPS2.ImportExport.Email.Mapi; using NAPS2.ImportExport.Email.Mapi;
using NAPS2.ImportExport.Email.Oauth; using NAPS2.ImportExport.Email.Oauth;

View File

@ -1,8 +1,6 @@
using System.ComponentModel; using System.ComponentModel;
using System.Globalization; using System.Globalization;
using System.Windows.Forms; using System.Windows.Forms;
using Eto.WinForms;
using NAPS2.EtoForms;
using NAPS2.Images.Gdi; using NAPS2.Images.Gdi;
using MessageBoxIcon = System.Windows.Forms.MessageBoxIcon; using MessageBoxIcon = System.Windows.Forms.MessageBoxIcon;

View File

@ -1,8 +1,6 @@
using System.ComponentModel; using System.ComponentModel;
using System.Drawing; using System.Drawing;
using System.Windows.Forms; using System.Windows.Forms;
using Eto.WinForms;
using NAPS2.EtoForms;
namespace NAPS2.WinForms; namespace NAPS2.WinForms;

View File

@ -1,8 +1,6 @@
using System.ComponentModel; using System.ComponentModel;
using System.Drawing; using System.Drawing;
using System.Windows.Forms; using System.Windows.Forms;
using Eto.WinForms;
using NAPS2.EtoForms;
namespace NAPS2.WinForms; namespace NAPS2.WinForms;

View File

@ -1,5 +1,4 @@
using System.Reflection; using Microsoft.Win32;
using Microsoft.Win32;
namespace NAPS2.Platform.Windows; namespace NAPS2.Platform.Windows;

View File

@ -1,5 +1,4 @@
using System.Collections.Immutable; using System.Collections.Immutable;
using System.Threading;
using NAPS2.ImportExport.Images; using NAPS2.ImportExport.Images;
using NAPS2.Scan; using NAPS2.Scan;
using NAPS2.Serialization; using NAPS2.Serialization;

View File

@ -1,6 +1,5 @@
using System.Collections; using System.Collections;
using System.Globalization; using System.Globalization;
using System.Reflection;
using NAPS2.Lang; using NAPS2.Lang;
namespace NAPS2.Util; namespace NAPS2.Util;

View File

@ -1,5 +1,4 @@
using NAPS2.Images.Bitwise; using NAPS2.Sdk.Tests.Asserts;
using NAPS2.Sdk.Tests.Asserts;
using Xunit; using Xunit;
namespace NAPS2.Sdk.Tests.Images; namespace NAPS2.Sdk.Tests.Images;

View File

@ -1,6 +1,5 @@
using NAPS2.ImportExport.Images; using NAPS2.ImportExport.Images;
using NAPS2.Scan; using NAPS2.Scan;
using NAPS2.Sdk.Tests.Asserts;
using Xunit; using Xunit;
namespace NAPS2.Sdk.Tests.ImportExport; namespace NAPS2.Sdk.Tests.ImportExport;

View File

@ -3,7 +3,7 @@ using Moq;
using NAPS2.Scan; using NAPS2.Scan;
using NAPS2.Scan.Internal; using NAPS2.Scan.Internal;
namespace NAPS2.Sdk.Tests; namespace NAPS2.Sdk.Tests.Mocks;
public class ScanDriverFactoryBuilder public class ScanDriverFactoryBuilder
{ {

View File

@ -1,5 +1,4 @@
using System.Threading; using NAPS2.ImportExport.Images;
using NAPS2.ImportExport.Images;
using NAPS2.ImportExport.Pdf.Pdfium; using NAPS2.ImportExport.Pdf.Pdfium;
using NAPS2.Scan; using NAPS2.Scan;

View File

@ -1,5 +1,4 @@
using System.Threading; using NAPS2.ImportExport.Images;
using NAPS2.ImportExport.Images;
using NAPS2.ImportExport.Pdf; using NAPS2.ImportExport.Pdf;
namespace NAPS2.ImportExport; namespace NAPS2.ImportExport;

View File

@ -1,5 +1,4 @@
using System.Collections.Concurrent; using System.Collections.Concurrent;
using System.Reflection;
using GrpcDotNetNamedPipes; using GrpcDotNetNamedPipes;
namespace NAPS2.Remoting.Worker; namespace NAPS2.Remoting.Worker;

View File

@ -1,5 +1,4 @@
using NAPS2.Ocr; using NAPS2.Ocr;
using NAPS2.Scan.Internal.Sane;
namespace NAPS2.Scan; namespace NAPS2.Scan;

View File

@ -1,8 +1,6 @@
using System.Text;
using NAPS2.Tools.Project.Targets; using NAPS2.Tools.Project.Targets;
using VirusTotalNet; using VirusTotalNet;
using VirusTotalNet.ResponseCodes; using VirusTotalNet.ResponseCodes;
using VirusTotalNet.Results;
namespace NAPS2.Tools.Project.Verification; namespace NAPS2.Tools.Project.Verification;