wip
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
namespace Toolkit.Foundation;
|
||||
|
||||
public interface IPipelineBehavior<TMessage,
|
||||
public interface IPipelineBehavior<TMessage,
|
||||
TResponse>
|
||||
{
|
||||
TResponse Handle(TMessage message,
|
||||
HandlerDelegate<TResponse> next);
|
||||
TResponse Handle(TMessage message,
|
||||
Func<TResponse> next);
|
||||
}
|
||||
|
||||
public interface IPipelineBehavior<TMessage>
|
||||
{
|
||||
void Handle(TMessage message,
|
||||
Func<Unit> next);
|
||||
}
|
||||
Reference in New Issue
Block a user