restructured namespaces
This commit is contained in:
parent
31ca91b1ab
commit
8f7496a3df
@ -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>
|
||||||
{
|
{
|
@ -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
|
@ -45,6 +45,9 @@
|
|||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</None>
|
</None>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|
||||||
|
@ -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"));
|
||||||
|
@ -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
|
||||||
{
|
{
|
@ -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
|
||||||
{
|
{
|
Loading…
Reference in New Issue
Block a user