restructured namespaces

This commit is contained in:
Philipp Häfelfinger 2023-08-31 21:18:44 +02:00
parent 31ca91b1ab
commit 8f7496a3df
6 changed files with 9 additions and 5 deletions

View File

@ -1,9 +1,10 @@
using System.Diagnostics; using System.Diagnostics;
using System.Threading.Channels; using System.Threading.Channels;
using NLog; using NLog;
using PiwigoDirectorySync.Services;
using Spectre.Console.Cli; using Spectre.Console.Cli;
namespace PiwigoDirectorySync.Commands.Scan; namespace PiwigoDirectorySync.Commands;
public class ScanCommand : AsyncCommand<ScanSettings> public class ScanCommand : AsyncCommand<ScanSettings>
{ {

View File

@ -2,7 +2,7 @@ using System.ComponentModel;
using System.Diagnostics.CodeAnalysis; using System.Diagnostics.CodeAnalysis;
using Spectre.Console.Cli; using Spectre.Console.Cli;
namespace PiwigoDirectorySync.Commands.Scan; namespace PiwigoDirectorySync.Commands;
[SuppressMessage("ReSharper", "UnusedAutoPropertyAccessor.Global")] [SuppressMessage("ReSharper", "UnusedAutoPropertyAccessor.Global")]
public class ScanSettings : CommandSettings public class ScanSettings : CommandSettings

View File

@ -45,6 +45,9 @@
<CopyToOutputDirectory>Always</CopyToOutputDirectory> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None> </None>
</ItemGroup> </ItemGroup>

View File

@ -1,7 +1,7 @@
using NLog; using NLog;
using NLog.Extensions.Logging; using NLog.Extensions.Logging;
using PiwigoDirectorySync; using PiwigoDirectorySync;
using PiwigoDirectorySync.Commands.Scan; using PiwigoDirectorySync.Commands;
using Spectre.Console.Cli; using Spectre.Console.Cli;
LogManager.Configuration = new NLogLoggingConfiguration(AppSettings.Config.GetSection("NLog")); LogManager.Configuration = new NLogLoggingConfiguration(AppSettings.Config.GetSection("NLog"));

View File

@ -4,7 +4,7 @@ using Microsoft.EntityFrameworkCore;
using NLog; using NLog;
using PiwigoDirectorySync.Persistence; using PiwigoDirectorySync.Persistence;
namespace PiwigoDirectorySync.Commands.Scan; namespace PiwigoDirectorySync.Services;
public class FileIndexer public class FileIndexer
{ {

View File

@ -2,7 +2,7 @@ using System.Threading.Channels;
using NLog; using NLog;
using PiwigoDirectorySync.Persistence; using PiwigoDirectorySync.Persistence;
namespace PiwigoDirectorySync.Commands.Scan; namespace PiwigoDirectorySync.Services;
public class FileSystemScanner public class FileSystemScanner
{ {