Adds Decorator, wip

This commit is contained in:
Janus C. H. Knudsen 2025-03-11 00:28:06 +01:00
parent a86a2d7ade
commit 49f9b99ee1
9 changed files with 112 additions and 45 deletions

View file

@ -0,0 +1,15 @@
namespace PlanTempus.Components;
public interface ICommandHandler
{
Task<TCommandResult> Handle<TCommand, TCommandResult>(TCommand command);
}
public interface ICommandHandler<in T, TResult>
{
Task<TResult> Handle(T input);
}
public interface ICommandHandlerDecorator
{
}