Content Reader/Writer, StreamCopyCommandHandler
This commit is contained in:
13
src/Core/FileTime.Core.CommandHandlers/Startup.cs
Normal file
13
src/Core/FileTime.Core.CommandHandlers/Startup.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using FileTime.Core.Command;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace FileTime.Core.CommandHandlers;
|
||||
|
||||
public static class Startup
|
||||
{
|
||||
public static IServiceCollection AddDefaultCommandHandlers(this IServiceCollection serviceCollection)
|
||||
{
|
||||
return serviceCollection
|
||||
.AddSingleton<ICommandHandler, StreamCopyCommandHandler>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user