MoveCommand
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
using FileTime.Core.Command.Copy;
|
||||
using FileTime.Core.Command.Move;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace FileTime.Core.Command;
|
||||
|
||||
public static class Startup
|
||||
{
|
||||
public static IServiceCollection AddCommands(this IServiceCollection serviceCollection)
|
||||
=> serviceCollection.AddSingleton<CopyCommandFactory>();
|
||||
public static IServiceCollection AddCommands(this IServiceCollection serviceCollection) =>
|
||||
serviceCollection
|
||||
.AddSingleton<CopyCommandFactory>()
|
||||
.AddSingleton<MoveCommandFactory>();
|
||||
}
|
||||
Reference in New Issue
Block a user