Initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
namespace CommandHandler.Commands;
|
||||
|
||||
internal class CombinedCommand(params ICommand[] commands) : ICommand
|
||||
{
|
||||
public async Task Execute()
|
||||
{
|
||||
foreach (var command in commands)
|
||||
{
|
||||
await command.Execute();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user