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.GtkSharp.Drawing;
using NAPS2.Images.Gtk;
using sd = System.Drawing;
namespace NAPS2.EtoForms.Gtk;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,4 @@
using NAPS2.Images.Gdi;
using NAPS2.ImportExport.Images;
using Ninject.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 NAPS2.Remoting;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,6 +1,5 @@
using System.Collections;
using System.Globalization;
using System.Reflection;
using NAPS2.Lang;
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;
namespace NAPS2.Sdk.Tests.Images;

View File

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

View File

@ -3,7 +3,7 @@ using Moq;
using NAPS2.Scan;
using NAPS2.Scan.Internal;
namespace NAPS2.Sdk.Tests;
namespace NAPS2.Sdk.Tests.Mocks;
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.Scan;

View File

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

View File

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

View File

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

View File

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