Move more classes out of the Util namespace

This commit is contained in:
Ben Olden-Cooligan 2021-04-21 18:23:04 -07:00
parent 24c524c9d6
commit dd0332ba69
15 changed files with 16 additions and 11 deletions

View File

@ -1,5 +1,5 @@
using NAPS2.Operation;
using NAPS2.Util;
using NAPS2.Logging;
using NAPS2.Operation;
using Ninject;
namespace NAPS2

View File

@ -1,5 +1,5 @@
using System;
using NAPS2.Util;
using NAPS2.Logging;
namespace NAPS2.Automation
{

View File

@ -1,5 +1,6 @@
using System.Windows.Forms;
using NAPS2.Lang.ConsoleResources;
using NAPS2.Logging;
using NAPS2.Util;
namespace NAPS2.Automation

View File

@ -1,6 +1,6 @@
using NAPS2.ImportExport.Pdf;
using NAPS2.Lang.ConsoleResources;
using NAPS2.Util;
using NAPS2.Logging;
namespace NAPS2.Automation
{

View File

@ -2,6 +2,7 @@ using System;
using NAPS2.Automation;
using NAPS2.Dependencies;
using NAPS2.ImportExport.Pdf;
using NAPS2.Logging;
using NAPS2.Operation;
using NAPS2.Util;
using NAPS2.WinForms;

View File

@ -2,6 +2,7 @@
using NAPS2.EtoForms;
using NAPS2.EtoForms.WinForms;
using NAPS2.ImportExport.Pdf;
using NAPS2.Logging;
using NAPS2.Operation;
using NAPS2.Util;
using NAPS2.WinForms;

View File

@ -1,6 +1,7 @@
using Moq;
using NAPS2.Config;
using NAPS2.ImportExport;
using NAPS2.Logging;
using NAPS2.Scan;
using NAPS2.Scan.Batch;
using NAPS2.Util;

View File

@ -3,7 +3,7 @@ using NAPS2.Images.Storage;
using NAPS2.Images.Transforms;
using NAPS2.Lang.Resources;
using NAPS2.Operation;
using NAPS2.Util;
using NAPS2.Threading;
namespace NAPS2.Images
{

View File

@ -13,6 +13,7 @@ using NAPS2.Scan;
using NAPS2.Images;
using NAPS2.Images.Storage;
using NAPS2.Images.Transforms;
using NAPS2.Threading;
using NAPS2.Util;
using PdfSharp.Pdf;
using PdfSharp.Pdf.Advanced;

View File

@ -1,6 +1,6 @@
using System;
namespace NAPS2.Util
namespace NAPS2.Logging
{
/// <summary>
/// A base interface for objects capable of displaying error output.

View File

@ -1,6 +1,6 @@
using System;
namespace NAPS2.Util
namespace NAPS2.Logging
{
public class StubErrorOutput : ErrorOutput
{

View File

@ -4,7 +4,7 @@ using System.Threading;
using System.Threading.Tasks;
using System.Threading.Tasks.Dataflow;
namespace NAPS2.Util
namespace NAPS2.Threading
{
/// <summary>
/// A class to help with parallelization using a pipeline model, wrapping around the TPL Dataflow library.

View File

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
namespace NAPS2.Util
namespace NAPS2.Threading
{
public class SmoothProgress : IDisposable
{

View File

@ -1,7 +1,7 @@
using System;
using System.Windows.Forms;
using NAPS2.Logging;
using NAPS2.Operation;
using NAPS2.Util;
namespace NAPS2.WinForms
{

View File

@ -1,8 +1,8 @@
using System;
using System.Windows.Forms;
using NAPS2.Lang.Resources;
using NAPS2.Logging;
using NAPS2.Threading;
using NAPS2.Util;
namespace NAPS2.WinForms
{