Decompress command
This commit is contained in:
@@ -8,6 +8,7 @@ public class StartupHandler : IStartupHandler
|
||||
public StartupHandler(IIdentifiableUserCommandService identifiableUserCommandService)
|
||||
{
|
||||
identifiableUserCommandService.AddIdentifiableUserCommand(CompressUserCommand.Instance);
|
||||
identifiableUserCommandService.AddIdentifiableUserCommand(DecompressUserCommand.Instance);
|
||||
}
|
||||
public Task InitAsync() => Task.CompletedTask;
|
||||
}
|
||||
@@ -18,6 +19,7 @@ public static class Startup
|
||||
{
|
||||
services.AddSingleton<IStartupHandler, StartupHandler>();
|
||||
services.AddSingleton<CompressCommandFactory>();
|
||||
services.AddSingleton<DecompressCommandFactory>();
|
||||
services.AddSingleton<IUserCommandHandler, CompressionUserCommandHandler>();
|
||||
return services;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user